This is a migrated thread and some comments may be shown as answers.
Open RadWindow Server side
1 Answer 87 Views
This is a migrated thread and some comments may be shown as answers.
Johnny
Top achievements
Rank 2
Johnny asked on 31 Aug 2011, 09:37 AM
hi i open radwindow with the following code , my problem is if i set VisibleOnPageLoad=true the code is working but each time the page post back the Radwindow open again if i set VisibleOnPageLoad=false couldn't open radwindow
Dim RW As New RadWindow
RW.NavigateUrl = "Search.aspx"
RW.VisibleOnPageLoad = True
RW.Width = New Unit(720, UnitType.Pixel)
RW.Height = New Unit(532, UnitType.Pixel)
RW.VisibleStatusbar = False
RW.MaxWidth = New Unit(720, UnitType.Pixel)
RW.MaxHeight = New Unit(532, UnitType.Pixel)
RW.OnClientClose = "OnClientClose"
RW.Modal = True
RadWindowManager1.Windows.Add(RW)            

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 31 Aug 2011, 10:01 AM
Hello Johnny,

You can resolve this by setting EnableViewState = "false" for the RadWindowManager. Also take a look at the following forum thread which discusses similar scenario.
Stop RadWindow from always loading on page postback.

Thanks,
Princy
Asked by
Johnny
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 1
Share this question
or