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

[Solved] Dynamic Menu Name

1 Answer 37 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Abdessamad
Top achievements
Rank 1
Abdessamad asked on 29 May 2012, 08:03 PM
Hi support,

I have generated many menus, having different names, in the same page using the following code :

 Html.Telerik().Menu()
                        .Name("Action"<#= ID #>"")

 The HTML generated code looked like :
<ul class="t-widget t-reset t-header t-menu" id="Action1"> 

This was working well till we upgraded this week to the version 2012.1.524. Now the same code generate the following HTML code :
<ul class="t-widget t-reset t-header t-menu" id="Action___ID___"> 

Can you help on this please?

Thanks,
Abdessamad

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 01 Jun 2012, 08:00 AM
Hello Abdessamad,

 
This is a known issue, which is already fixed. In one of the internal builds, we decided to fix the problem related with ID sanitizing, which causes the aforementioned erroneous behavior. I will suggest you download the latest internal build, which contains the fix.

Greetings,
Georgi Krustev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Menu
Asked by
Abdessamad
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or