How to change the ComponentArt Menu THeme dynamically ?

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
princeatapi
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Thu Jul 16, 2009 4:30 am

How to change the ComponentArt Menu THeme dynamically ?

Post by princeatapi » Fri Jul 17, 2009 3:37 am

Hi All,

Ive Done a drop down menu ( As User Control ) using ComponentArt Menu Control now its working fine , but it always displays with the default theme Even if i change the store theme it doesn't affect my Menu !!

Where I'm Wrong Or What ive to do ??

Thanks
-Prince

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: How to change the ComponentArt Menu THeme dynamically ?

Post by mazhar » Fri Jul 17, 2009 3:41 am

Check the component art theme files in your active store theme folder. I think you have do some trick with them.

princeatapi
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Thu Jul 16, 2009 4:30 am

Re: How to change the ComponentArt Menu THeme dynamically ?

Post by princeatapi » Fri Jul 17, 2009 3:50 am

I had some 10 themes but i don't know how to assign the theme dynamically ? Please help me out what property should i needs to use for this in CA Menu ??

princeatapi
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Thu Jul 16, 2009 4:30 am

Re: How to change the ComponentArt Menu THeme dynamically ?

Post by princeatapi » Fri Jul 17, 2009 3:51 am

Lemme know whats d trick ??

princeatapi
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Thu Jul 16, 2009 4:30 am

Re: How to change the ComponentArt Menu THeme dynamically ?

Post by princeatapi » Fri Jul 17, 2009 3:53 am

This is What The Code ive Written,



<%@ Control Language="C#" AutoEventWireup="true" CodeFile="VerticalMenu.ascx.cs"
Inherits="ConLib_Custom_VerticalMenu" %>
<%@ Register Assembly="ComponentArt.Web.UI" Namespace="ComponentArt.Web.UI" TagPrefix="ComponentArt" %>
<%--
<conlib>
<summary>Vertical Menu with Flyout</summary>
</conlib>
--%>
<ComponentArt:Menu ID="Menu1" runat="server" SkinId = "Sample">

</ComponentArt:Menu>


Where to apply my changes ??

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: How to change the ComponentArt Menu THeme dynamically ?

Post by mazhar » Fri Jul 17, 2009 5:16 am

Read following thread it may help you
viewtopic.php?f=47&t=5740

Post Reply