Problem in creating multiple windows

2 posts, 0 answers
  1. Catia Alexandra
    Catia Alexandra avatar
    6 posts
    Member since:
    Aug 2010

    Posted 09 Mar 2011 Link to this post

    I'm having the following problem, when I click a button will open a new window, and this is a modal, then the window should be called off.
    But what happens is when you click on the button is clicked on it more than once before the modal be activated.
    I tried to use a dispatcher did not work for this however is still possible to enable multiple child windows.
    How should I proceed?
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 14 Mar 2011 Link to this post

    Hello Catia,

    This behavior is due to the fact that the windows are opened asynchronously.  I suggest you to disable the button when clicked in order to prevent showing additional windows. You can find attached a sample which demonstrates the approach.

    Hope this helps.

    Kind regards,
    Yana
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft banner
Back to Top