I am trying to switch from the RadControls for ASP.NET RadWindow to Prometheus RadWindow. I am having trouble finding an example of opening a RadWindow client-side?
I tried this but I got a javascript error that says "_28 has no properties"
var oManager = GetRadWindowManager();
var oWnd = oManager.GetWindowByName("NewDrugDialog");
oWnd.Show();
Here is my RadWindow code:
<telerik:RadWindowManager ID="RadWindowManager" runat="server" Width="400" Height="400" DestroyOnClose="true"
Modal="true">
<Windows>
<telerik:RadWindow ID="NewDrugDialog" runat="server" Title="Add New Drug" Height="400px" Width="400px" ReloadOnShow="true" Modal="false" Skin="Vista" DestroyOnClose="false"
ClientCallBackFunction="CallBackFunctionDrug" OnClientClose="OnClientCloseDrug" />
</Windows>
</telerik:RadWindowManager>
I tried this but I got a javascript error that says "_28 has no properties"
var oManager = GetRadWindowManager();
var oWnd = oManager.GetWindowByName("NewDrugDialog");
oWnd.Show();
Here is my RadWindow code:
<telerik:RadWindowManager ID="RadWindowManager" runat="server" Width="400" Height="400" DestroyOnClose="true"
Modal="true">
<Windows>
<telerik:RadWindow ID="NewDrugDialog" runat="server" Title="Add New Drug" Height="400px" Width="400px" ReloadOnShow="true" Modal="false" Skin="Vista" DestroyOnClose="false"
ClientCallBackFunction="CallBackFunctionDrug" OnClientClose="OnClientCloseDrug" />
</Windows>
</telerik:RadWindowManager>