Issue with RadWindow Manager

2 posts, 0 answers
  1. Gururaj B
    Gururaj B avatar
    1 posts
    Member since:
    Nov 2009

    Posted 04 Jan 2010 Link to this post

    Am a ASP.Net developer using Telerik Controls first time.


    We have a Telerik Tabs in which we have 1 RadGrid in each ofthem.


    On click of each grids rows we open a RadWindow as shownbelow.


    <telerik:RadWindowManager ID="testRadWindowManager " DestroyOnClose="true"ReloadOnShow="true"runat="server"VisibleStatusbar="false"

    Behaviors="Close,Move,Resize" ShowContentDuringLoad="true" Modal="True" Width="1004px"



    <telerik:RadWindow ID="RadWindow1"DestroyOnClose="true"ReloadOnShow="true"runat="server"VisibleStatusbar="false"Behaviors="Close,Move,Resize"






    Now when the user clicks a RadGrid row in side tab1 opens upproperly and when user clicks other RadGrid row in tab2 say on which we need toopen a RadWindow opens up but with all the same properties of RadWindow placedin tab 1.


    We need separate properties like say Width and Height of theRadWindow openned from different tabs. Basically same properties are being setto the RadWindows in other tabs too which we don’t want. We want to giveseparate Width and Height for every RadWindow placed in the samepage(AJAXified).


    Request you to provide the necessary steps to do to resolvethis issue.

    Thanks in Advance.

  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 06 Jan 2010 Link to this post

    Hello Gururaj B,

    The provided code snippet does not show how exactly you open the RadWindows but I assume that you do so by using the radopen function. If so, you should reference the RadWindow there and use the client-side method setSize to set the desired different size, e,g as shown below:

    var oWnd = radopen(url, WindowName);
    oWnd.setSize(myWidth, myHeight);

    Let me know if you need further assistance.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top