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

I get one postback, for every time I've opened a RadWindow

2 Answers 48 Views
Window
This is a migrated thread and some comments may be shown as answers.
Brent
Top achievements
Rank 1
Brent asked on 01 Oct 2008, 08:52 PM
Hi,

I am opening a RadWindow that calls .ajaxRequest in a javascript function, onclientclose.

I open the window, do NOTHING, then close it by clicking on the close button in the upper right hand corner of the dialog.

My javascript function runs, I get a postback to my main aspx page, and my AjaxRequest method runs as expected.

However, if I then open the RadWindow and close it again, I then get TWO postbacks to my main page, and after the second one my AjaxRequest method runs as expected.

If I open / close the RadWindow N times, I get N number of postbacks to my main page, and after the second one my AjaxRequest method runs as expected.

I'm sure this is something I'm screwing up.  It is like there is another instance of the RadWindow created every time I open it, and for each instance I get a postback. 

Q.  Why am I getting one postback per time I've opened the RadWindow?

Ideas?

Thanks,
Brent

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 02 Oct 2008, 12:36 PM
Hi Brent,

Could you please open a support ticket and send me a sample application where the problem could be reproduced? Once I have a better view over your setup and logic, I'll do my best to help.
Just add a reference to this forum thread in your ticket and I will check it right away.


Best wishes,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Brent
Top achievements
Rank 1
answered on 02 Oct 2008, 12:39 PM
Thanks much Georgi.  Our usage / scenario is pretty complex, so what I'll do for now is just put this on the back burner and we'll troubleshoot again soon.

I just thought you might have seen something weird like this before, and I might be doing something stupid where you might have a hunch as to which direction to point me to.

I'll do as you suggest, if we absolutely can't figure it out.

You guys are great, by the way.  I find your response times to be acceptable, and your knowledge level to be high.

Thanks again,
Brent
Tags
Window
Asked by
Brent
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Brent
Top achievements
Rank 1
Share this question
or