All Products
Demos
Pricing
Services
Blogs
Docs & Support
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for ASP.NET AJAX Forum
/
Window
/
Sys.InvalidOperationException: Two components with the same id 'RadWindow2' can't be added to the application
Cancel
Telerik UI for ASP.NET AJAX
Resources
Buy
Try
Feed for this thread
2 posts, 0 answers
srikanth sapelly
7 posts
Member since:
Jul 2009
Posted 18 Nov 2010
Link to this post
Hi,
I am creating Radmenu and Radwindow dynamically in the page_load, i want to open the radwindow(dynamically created) on Rad Menu "
OnClientItemClicked". When i do this i am getting "Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'RadWindow2' can't be added to the application." exception.
I am using Telerik Version=2010.2.929.20. In the view source of the page i dont see 2 Radwindows. I have only one Radwindow with ID'RadWindow2".
thanks,
srikanth
Shinu
17764 posts
Member since:
Mar 2007
Posted 18 Nov 2010
Link to this post
Hello,
There are several functions that let you open a
RadWindow
object from your client-side javascript. Use any of the techniques described in the
documentation
in '
OnClientItemClicked
' event of menu.
Opening Windows
-Shinu.
Back to Top
Close