I am attempting to show a radWindow based on a combobox selection, and nothing is happening.
I have a radWindowManager on the page:
and the code behind is simply:
Shouldn't that be sufficient in launching the window?
I have a radWindowManager on the page:
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
EnableViewState
=
"False"
>
</
telerik:RadWindowManager
>
and the code behind is simply:
Protected Sub list_State_SelectedIndexChanged(sender As Object, e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles list_State.SelectedIndexChanged
If list_State.SelectedValue = "NV" Then
Dim url As String = String.Format("nevada-alert.aspx")
Dim NewWindow As RadWindow = New RadWindow()
NewWindow.ID = "win_ServiceState"
NewWindow.Title = "Nevada is currently offline."
NewWindow.Height = 330
NewWindow.Width = 420
NewWindow.ReloadOnShow = True
NewWindow.Modal = True
NewWindow.ShowContentDuringLoad = False
NewWindow.KeepInScreenBounds = True
NewWindow.VisibleOnPageLoad = True
NewWindow.NavigateUrl = url
RadWindowManager1.Windows.Add(NewWindow)
End If
End Sub
Shouldn't that be sufficient in launching the window?