Issue in Opening usercontrol inside radwindow

2 posts, 0 answers
  1. Vikas
    Vikas avatar
    1 posts
    Member since:
    Nov 2011

    Posted 30 Nov 2011 Link to this post

    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.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 01 Dec 2011 Link to this post

    Hello Vikas,

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

    -Shinu.
Back to Top