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

Window appears on postback

4 Answers 76 Views
Window
This is a migrated thread and some comments may be shown as answers.
Tina
Top achievements
Rank 1
Tina asked on 18 Nov 2011, 02:39 AM
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?

4 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 18 Nov 2011, 05:02 AM
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.
0
Accepted
Marin Bratanov
Telerik team
answered on 21 Nov 2011, 09:35 AM
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
0
Tina
Top achievements
Rank 1
answered on 22 Nov 2011, 02:10 AM
Thanks,
Telerik.
What are the diffrent confirm dialogs that can be use with RadWindow?
0
Shinu
Top achievements
Rank 2
answered on 22 Nov 2011, 06:08 AM
Hello Tina,

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

-Shinu.
Tags
Window
Asked by
Tina
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Marin Bratanov
Telerik team
Tina
Top achievements
Rank 1
Share this question
or