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

when one doesnt exist hell break loose

1 Answer 59 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Carlos
Top achievements
Rank 1
Carlos asked on 21 Jun 2013, 11:08 AM
Hi all

so i have to Radmenus the diference between theme, the fisrt RADMENU1 has NavigateURL and the second RADMENU2 has only VAlue, the problem is that when i delete the first, or i turn it visible=false, its crashes like hell, on internet explorer, i have a huge maigrain from reading all the code tryuing to find a diference or a bug but nothing.

Error:
JavaScript critical error at line 5, column 1 in http://localhost:62127/Main.aspx?ReturnUrl=/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager2_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ac9cbdec3-c810-4e87-846c-fb25a7c08002%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3a8a277cf4-155d-4ba9-b3c0-d6f62646e5f2%3a16e4e7cd%3af7645509%3a22a6274a&_TSM_HiddenField_=ScriptManager2_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:c9cbdec3-c810-4e87-846c-fb25a7c08002:ea597d4b:b25378d2;Telerik.Web.UI:en-US:8a277cf4-155d-4ba9-b3c0-d6f62646e5f2:16e4e7cd:f7645509:22a6274a

SCRIPT1002: Syntax error

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 26 Jun 2013, 11:14 AM
Hello,
 
I am afraid that we are not aware of such issue with our RadMenu control. Please find attached sample project that implements very similar scenario - clicking on the button will delete the first menu item. Please try to explain how exactly to replicate that problem locally so can investigate it thoroughly.

Regards,
Boyan Dimitrov
Telerik
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 RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Menu
Asked by
Carlos
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or