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

Event order for radwindowmanager

1 Answer 90 Views
Window
This is a migrated thread and some comments may be shown as answers.
Hrushikesh Mokashi
Top achievements
Rank 1
Hrushikesh Mokashi asked on 18 Jul 2008, 10:50 AM
I am using Radcontrol asp.net ajax Q2008.

Here i used RadWindowManager  as follows.

<telerik:RadWindowManager ID="rWindowManager" runat="server"
                     Height="4px" Left="" OnClientClose="DateWindowCancelClicked"
                    NavigateUrl="" Skin="Vista" Title="" Top=""  ClientCallBackFunction="CallBackHistoryUpdateData">
    <windows>
<telerik:RadWindow ID="rWindowHistoryDate" runat="server" Height="340px"
                    Left="50px" Modal="True" NavigateUrl="" SkinsPath="~/Skins"
                    Title="Select Date Range" Top="50px" VisibleStatusbar="False" Width="610px"  />
<telerik:RadWindow ID="rWindowAccountAlertDate" runat="server"
                    Height="340px" Left="50px" Modal="True" NavigateUrl=""
                    SkinsPath="~/Skins" Title="Select Account Alert Date Range"
                    Top="70px" VisibleStatusbar="False" Width="610px" />
</windows>
</telerik:RadWindowManager>


Query
When i excuting the code the radwindow manager call OnClientClose event first and then it call the event ClientCallBackFunction.

How can i the call the event  ClientCallBackFunction first and then call event OnClientClose ?
Is there any method to change the order of event call.

1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 18 Jul 2008, 11:11 AM
Hi Hrushikesh,

The order in which the ClientCallBackFunction and OnClientClose cannot be changed. However, you can use both event handler to receive the result of a dialog and to respond as it is described and demonstrated in this help article. Only the way you take the argument is different. In this way you can execute the code from ClientCallBackFunction in OnClientClose and thus change the order in the way you want.
If you have any other questions, do contact us again.

Sincerely yours,
Sophy
the Telerik team

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