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

2 posts, 0 answers
  1. srikanth sapelly
    srikanth sapelly avatar
    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

  2. Shinu
    Shinu avatar
    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