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

Sys.InvalidOperationException: Two components with the same id 'RadWindow2' can't be added to the application

1 Answer 261 Views
Window
This is a migrated thread and some comments may be shown as answers.
srikanth sapelly
Top achievements
Rank 1
srikanth sapelly asked on 18 Nov 2010, 07:52 AM
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

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Nov 2010, 10:03 AM
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.
Tags
Window
Asked by
srikanth sapelly
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or