Size of Radwindow

2 posts, 0 answers
  1. bharat kumar
    bharat kumar avatar
    53 posts
    Member since:
    Jan 2010

    Posted 06 Aug 2010 Link to this post

    Hi ,
    i am using radwindowmanager on my entire application. and in all the pages it works fine except one page.
    i dont know the reason for this as i am using multiple radwindowmanager on this page.

    here is the code which is working on all pages but not on one particular page..

    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista"
                             Width="1200px" Height="750px" ReloadOnShow="true" Modal="true"
                                        ShowContentDuringLoad="false" Behavior="Close"
                                    <telerik:RadWindow Skin="Vista" ID="AttachmentDialog" runat="server" Title="Document Dialog"
                                        ReloadOnShow="true" Modal="true"
                                        ShowContentDuringLoad="false" Behavior="Close"
                                        VisibleStatusbar="false" OnClientClose="ReloadAttachmentGrid"

    please suggest where i am doing wrong.on that page after doing all changes the popup size is still small..i mean not 1200 and 750.

  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 09 Aug 2010 Link to this post

    Hello bharat kumar,

    A problem like the one you describe, can occur if you have more than 1 RadWindowManager on the page. In such case, you need to take into consideration the following:

       1. All RadWindowManager's functions (radopen, radalert, radconfirm, radprompt, GetRadWindowManager, etc) are always using the first rendered RadWindowManager on the page.
       2. Every RadWindowManager "knows" only the RadWindows that are declared in its Windows collection.

    This means that if you have a RadWindow2 declared in RadWindowManager2, and you use something like radopen(myUrl, "RadWindow2");, radopen will use RadWindowManager1 and will open a new RadWindow with the settings taken from RadWindowManager1. To avoid that problem, when you have multiple managers on a page, you need to get a reference to the correct RadWindowManager first and then call its methods.
    var manager = $find("<%= RadWindowManager2.ClientID %>");, "RadWindow2");

    All the best,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top