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

[Solved] Example of opening a RadWindow client-side?

1 Answer 216 Views
Window
This is a migrated thread and some comments may be shown as answers.
Kelly
Top achievements
Rank 1
Kelly asked on 25 Feb 2008, 07:07 PM
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>

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 26 Feb 2008, 03:41 PM
Hi Kelly,

The code that you provided looks fine and I tested it locally but I was not able to reproduce the problem. Please open a support ticket and send us your project (or a sample one which reproduces the error) and send it to us. We will check it and do our best to help.



Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
Kelly
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or