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
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