Window appears on postback

5 posts, 2 answers
  1. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 17 Nov 2011 Link to this post

    I have a radgrid in my application in which i am openig a window in button click(server side)to show a pop up. But whenever the page refreshes the window is loading again.How can i resolve this?
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 Nov 2011 Link to this post

    Hello Tina,

    You can resolve this in many ways.

    • Set EnableViewState = "false" for the RadWindowManager
    • Reset the VisibleOnPageLoad property to false with code when suitable, depending on the particular scenario
    • Show the RadWindow through registering a script from the server instead of using server code.

    -Shinu.
  3. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    4529 posts

    Posted 21 Nov 2011 Link to this post

    Hello guys,

    I advise that you also examine the following sticky thread which shows the recommended way to open a RadWIndow from the server which allows you to avoid disabling the ViewState and manual setting of properties: http://www.telerik.com/community/forums/aspnet-ajax/window/opening-radwindow-from-the-server.aspx.


    Greetings,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  4. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 21 Nov 2011 Link to this post

    Thanks,
    Telerik.
    What are the diffrent confirm dialogs that can be use with RadWindow?
  5. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 22 Nov 2011 Link to this post

    Hello Tina,

    Check the following demo which explains the same.
    Window / Alert, Prompt, Confirm

    -Shinu.
Back to Top