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

RadWindow1_Disposed

6 Answers 74 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sinan
Top achievements
Rank 1
Sinan asked on 11 Jan 2010, 03:00 PM
How work disposed event, only work F4+ALT (dispose)

protected

 

void RadWindow1_Disposed(object sender, EventArgs e)

 

{

dsSektor.DataBind();

}

 

6 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 12 Jan 2010, 07:27 AM
Hi snn,

RadWindow does not have a server-side event that is fired when it is closed - the control mimics the standard browser's dialog (window.open) and is created and handled on the client only. What I can suggest is to use the OnClientClose property and to set a name of a JavaScript function that will be executed once the RadWindow is closed. In that JavaScript function, you could invoke a server-side function that will databind the corresponding control.
Please note that this (calling a server-side function from JavaScript) is a general programming task - for example you can use __doPostBack() or RadAjax's ajaxRequest call.

Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Sinan
Top achievements
Rank 1
answered on 12 Jan 2010, 08:24 AM
.
0
Georgi Tunev
Telerik team
answered on 12 Jan 2010, 08:59 AM
Hi snn,

I'm sorry for the error - here is the correct link (I also updated the link in my previous reply):
http://www.telerik.com/help/aspnet-ajax/ajxclientsideapi.html


Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Sinan
Top achievements
Rank 1
answered on 12 Jan 2010, 09:27 AM
Thank you, but my English is not very good and I am new to programming issues. How do I ask radwindow after closing "dsSektor.DataBind();"
0
Georgi Tunev
Telerik team
answered on 14 Jan 2010, 03:00 PM
Hello snn,

I prepared a simple demo based on the links that I sent you. Please check RadWindow and RadAjax's documentation for more information on these controls.

Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Sinan
Top achievements
Rank 1
answered on 15 Jan 2010, 09:52 AM
Very very thanks this sample work, but i am use master page not work:(

SS
Tags
Window
Asked by
Sinan
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Sinan
Top achievements
Rank 1
Share this question
or