How to open / close radwindow on server side

3 posts, 1 answers
  1. Prava kafle
    Prava kafle avatar
    217 posts
    Member since:
    Apr 2010

    Posted 07 Dec 2010 Link to this post

    Hi,

    I have Radwindow Manager in page, Radwindow1 is opened  if a condition is met on server side . User closes this window by clicking  "Save"  /  "Cancel"  Button .  If  "Save" button is clicked, information is processed on the server and Radwindow1 is closed.

    Logic is:
    If(condition1)
    {
        Create a new Radwindow and add it to Radwindow Manager
        Open RadWindow1
    }


    SaveButton_Click( ....)
    {
       .......................
       close RadWindow.....
    }

    Any idea?

    Thanks
    Prava
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Dec 2010 Link to this post

    Hello Prava,


    You can find some sample code for opening window here (by setting VisibleOnPageLoad property to True).
    window from code


    Another option is using the RegisterStartupScript() server method to invoke the client method to open/close windows. More information on invoking the client function will be available in the KB Article.
    Executing JavaScript function from server-side code


    -Shinu.
  3. Prava kafle
    Prava kafle avatar
    217 posts
    Member since:
    Apr 2010

    Posted 08 Dec 2010 Link to this post

    Thanks, it helped.
Back to Top