RadWindow size issue

6 posts, 0 answers
  1. mtallman
    mtallman avatar
    4 posts
    Member since:
    Jan 2007

    Posted 17 Mar 2008 Link to this post

    I am implementing the RadWindow to facilitate poping up a window from a context menu on the RadTreeView control. Here is a snippet of the code:

    <telerik:RadWindowManager ID="windowManager" runat="server" OnClientClose="Refresh">
            <telerik:RadWindow runat="server" ID="window" Modal="true"></telerik:RadWindow>

    The URL that opens the window consists of a few querystring arguments that have GUIDs. So as a result, the URL is very long and looks like this:


    It seems to me that no matter what size (width) I specify, the RadWindow ignores the size spec. initially. It seems to expand the entire window to show the full URL in the status bar of the RadWindow popup.

    I have even tried setting the VisibleStatusbar property on the RadWindow to false, and it doesn't do anything.

    Has anyone else experienced the same issue. Again, I'm using the Prometheus controls.

  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 18 Mar 2008 Link to this post

    Hello mtallman,

    I tested your scenario and when I set the VisibleStatusBar property of the RadWindowManager to false everything worked as expected. Please, make sure that you have set the above mentioned property to false in the RadWindowManager's declaration, not in the RadWindow's declaration.

    If you continue experiencing problems, please open a new support ticket and send us a small, runnable project which reproduces the described issue.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Paul
    Paul avatar
    76 posts
    Member since:
    Feb 2008

    Posted 26 Mar 2008 Link to this post

    I am having the same issues with long URL's causing the RadWindow to be extremely wide even though I have the width set to 1024. If I set the visibile status bar to false, it works as designed. My issue however is that the page loading can take a minute or more to load thus the status bar is useful because it has the spinning indicator implying the page is loading.

    I need to either keep the status bar, but not let the width exceed my set width regardless of url length, suppress the url from being displayed on the status bar thus preventing the resizing issue, or be able to provide some other visual indicator that the page is loading.



    Here is my code:
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" VisibleOnPageLoad="True" DestroyOnClose="true" ShowContentDuringLoad="false" Height="768px" Width="1024px" Skin="Vista" Behaviors="Default" KeepInScreenBounds="True" Modal="true" VisibleStatusbar="false"></telerik:RadWindowManager> 
    RadWindow newnewWindow = new RadWindow();  
    newWindow.NavigateUrl = Server + path + parameters;  
    newWindow.ID = "DynamicallyCreatedWindow";  
    newWindow.Title = "Daily Report";  

  4. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 01 Apr 2008 Link to this post

    Hi Paul,

    I suggest to implement a javascript function which sets the size of the RadWindow client-side. After that you can assign it to the OnClientShow property of your dynamically created RadWindow. In order to get effect from the resize you should set a little timeout, actually setting time interval to 0 will also do the trick.

    I hope that you will find my suggestion useful. You can find a small project which you can test in the attached archive file.  

    Best wishes,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Jayavidya
    Jayavidya avatar
    14 posts
    Member since:
    Oct 2010

    Posted 10 Jan 2011 Link to this post

    Hello Team,
    I am facing issues with RadWindow. I am having a radwindow in design time and opening it on button click using JScript. I am setting the size using radWindowChar.setSize(20, 20);. It doesnt apply to the window.
    Please advice on this.
  6. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 10 Jan 2011 Link to this post

    Hello mtallman,

     There are some minimum width and minimum height which are calculated based on the layout elements of the RadWindow - e.g statusbar, titlebar, handles, icons in the titlebar, etc. If a smaller size is set then this minimum size, the RadWindow starts looking ugly and thus this is taken into account in the RadWindow's source code - if the size is less then the minimum needed, the minimum is set.

    I am not completely sure about your exact setup but I recommend to examine our RadToolTip control which could be helpful in your case:


    In case you need further assistance or you have additional questions, do not hesitate to contact us again.

    Kind regards,
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top