Click here to Skip to main content
13,094,411 members (64,416 online)
Rate this:
Please Sign up or sign in to vote.
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
Updated 1-Mar-12 23:01pm
Patil_Nilesh 1-Mar-12 4:57am
give your page code
ryanb31 1-Mar-12 7:52am
Need more info.
SAKryukov 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 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 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 2-Jan-13 23:22pm
Thanks it works....
Madhuri Patil 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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2017
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