RadWindow1_Disposed

7 posts, 0 answers
  1. Sinan
    Sinan avatar
    5 posts
    Member since:
    May 2008

    Posted 11 Jan 2010 Link to this post

    How work disposed event, only work F4+ALT (dispose)

    protected

     

    void RadWindow1_Disposed(object sender, EventArgs e)

     

    {

    dsSektor.DataBind();

    }

     

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 12 Jan 2010 Link to this post

    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.
  3. Sinan
    Sinan avatar
    5 posts
    Member since:
    May 2008

    Posted 12 Jan 2010 Link to this post

    .
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 12 Jan 2010 Link to this post

    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.
  5. Sinan
    Sinan avatar
    5 posts
    Member since:
    May 2008

    Posted 12 Jan 2010 Link to this post

    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();"
  6. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 14 Jan 2010 Link to this post

    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.
  7. Sinan
    Sinan avatar
    5 posts
    Member since:
    May 2008

    Posted 15 Jan 2010 Link to this post

    Very very thanks this sample work, but i am use master page not work:(

    SS
Back to Top