Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP.NET Javascript
Hello All,
I got below javascript error:
"Microsoft jscript runtime error sys.invalidoperationexception two components with the same id "
please help me,
I have checked that there is no repetation of any control in my design page..
then also its occured.
Some Additional Information:
<Update Panel>
------other ajax control used here
</Update Panel>
then i got this Javascript error.
Posted 29-Feb-12 22:20pm
Edited 1-Mar-12 23:01pm
Patil_Nilesh at 1-Mar-12 4:57am
give your page code
ryanb31 at 1-Mar-12 7:52am
Need more info.
SAKryukov at 1-Mar-12 13:50pm
You can catch all exception in Javascrip and present detailed exception information. Could you also make a code sample manifesting the problem?
Ravikumar.Gunge at 2-Mar-12 1:07am
there could be many various causes of the above exception,try to elaborate your question with more information please
Varun Sareen at 2-Mar-12 1:15am
more code
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Hello All,

I have solved this problem myself,

After Adding Ajaxcontroltoolkit Version 3.5 instead of Ajaxcontroltoolkit Version1.0 dll,
then I got this Javascript error on Every page where updatePanel used,
I have just added a property ScriptMode="Release" of ToolkitScriptmanager on master pages,
then , I got my project successfully run without any javascript error.
Dharmendra H Gupta at 2-Jan-13 23:22pm
Thanks it works....
Madhuri Patil at 3-Jan-13 1:15am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Check out this forum:[^]
Good luck!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 389
1 Sergey Alexandrovich Kryukov 375
2 Maciej Los 295
3 King_Fisher 160
4 Garth J Lancaster 158
0 Sergey Alexandrovich Kryukov 11,069
1 OriginalGriff 5,743
2 Maciej Los 5,649
3 CPallini 3,879
4 BillWoodruff 3,584

Advertise | Privacy | Mobile
Web02 | 2.8.141030.1 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100