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

Problem in creating multiple windows

1 Answer 46 Views
Window
This is a migrated thread and some comments may be shown as answers.
Catia Alexandra
Top achievements
Rank 1
Catia Alexandra asked on 09 Mar 2011, 07:52 PM
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?

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 14 Mar 2011, 02:42 PM
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!
Tags
Window
Asked by
Catia Alexandra
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or