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

Issue in Opening usercontrol inside radwindow

1 Answer 79 Views
Window
This is a migrated thread and some comments may be shown as answers.
Vikas
Top achievements
Rank 1
Vikas asked on 30 Nov 2011, 01:31 PM
I am trying to include an user control inside radwindow and trying to open it using readopen but unfortunately this
is not working for me.
<telerik:RadWindow runat="server" ID="RadWindow1" Skin="Vista" KeepInScreenBounds="true" VisibleOnPageLoad="false" Modal="true" Title="Search Client"
       Behaviors="Close,Maximize,Move" Width="500" Height="500">
       <ContentTemplate>
           <cti:ucSearchClient ID="searchClient" runat="server" /> 
       </ContentTemplate>
   </telerik:RadWindow>

On a button click we are trying to call the following javascript method.

function openWindow() {
            var oWnd = radopen(null, "RadWindow1");
        }

Can you please let me know is there a way to open user control using radwindow and get the selected row values into the main page?

we noticed another issue that if we are using Rad Button in place of Html or ASP.net button, it is calling javascript on pageload even before we click and throws error.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 01 Dec 2011, 07:35 AM
Hello Vikas,

I tried the same scenario which worked as expected. Make sure that you have RadWindowManager on the page.

-Shinu.
Tags
Window
Asked by
Vikas
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or