How to wrap contents of rad window and open rad window from code-behind?

3 posts, 0 answers
  1. Abhijit Shetty
    Abhijit Shetty avatar
    36 posts
    Member since:
    May 2010

    Posted 24 Oct 2010 Link to this post

    Hi All,

    I have a radwindow with content overflowing its width making horizontal scroll bars visible.bars are visible. Is it possible to wrap the contents of rad window so that horizontal scroll-bar is removed.

    I have to do some process on click of button and then have to show rad window after post-back? How can this be achieved.

    Thanks in advance for helping...
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 25 Oct 2010 Link to this post

    Hello Abhijith,


    Another suggestion is autosizing the RadWinodw based on the content, which in turn remove the scrollbars. Simply set the AutoSize property to True for this.



    -Shinu.
  3. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 25 Oct 2010 Link to this post

    Hi Abhijit,

    You didn't specify if you are using an external page as content (i.e. NavigateUrl is set) or you use RadWindow as controls container. In both cases however, RadWindow does not control the scrollbars in any way. Basically, when an external page is used RadWindow uses an IFRAME and the scrollbars come from the IFRAME itself. When RadWindow is used as a container, the scrollbars are shown inside the container.

    This being said, I would suggest to use CSS and apply overflow property to the container in order to avoid the scrollbars. As for showing RadWindow from the server, you need to set its VisibleOnPageLoad property to true.

    Greetings,
    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