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

[Solved] RadWindow auto closes due to code behind?

1 Answer 210 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 06 May 2008, 07:06 PM
I have a rad menu, that will open a radwindow.  the java script fires properly, the window opens properly, however, when the code behind fires for the click event, the window disappears.

is this by design?  that the client event must not exist with a corresponding server event?

or am i missing something?

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 07 May 2008, 05:12 AM
Hi Jay,

When you open a RadWindow by using its client-side API, the window will exist on the parent page until that page is reloaded / postback-ed or navigated away. This behavior is not related directly to the RadWindow control and is valid for any DHTML element created by JavaScript.

What I can suggest in your case is either to use the server-side API of our control or to use Ajax callbacks to avoid the full reloading of the page.


Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
Jay
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or