This is a migrated thread and some comments may be shown as answers.

Skin Houdini

3 Answers 80 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Mac
Top achievements
Rank 2
Mac asked on 31 Jul 2008, 10:59 AM
when using output caching in webcontrols, the radmenu control is losing it's skin.
all the items are generated as text after the first request initially displays correctly.
Seem to recall this happening in Q1 pre SP1 as well but worked fine with Q1 SP1.

not doing anything fancy with the menu, just a basic setup and database bind.


<%

@ OutputCache Duration="120" Shared="false" VaryByParam="none" %>

<

telerik:RadMenu ID="RadMenu1" runat="server" Skin="Telerik" Width="100%"

OnItemDataBound="RadMenu1_ItemDataBound"

ExpandDelay="50" ExpandAnimation-Duration="100"

CollapseAnimation-Duration="100">

</

telerik:RadMenu>

any ideas?

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 31 Jul 2008, 12:18 PM
Hello Mac,

Please read this help topic about RadMenu and OutputCache enabled.

Best wishes,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mac
Top achievements
Rank 2
answered on 31 Jul 2008, 12:46 PM
Thanks,

one quick question though, is there a way to still use the embedded resources of the RadControls rather than copy the skins into the project?

0
Yana
Telerik team
answered on 01 Aug 2008, 06:38 AM
Hi Mac,

Unfortunately this is the only way for RadMenu to properly register its skin when OutputCache is enabled.

Kind regards,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Menu
Asked by
Mac
Top achievements
Rank 2
Answers by
Yana
Telerik team
Mac
Top achievements
Rank 2
Share this question
or