This is a migrated thread and some comments may be shown as answers.

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

2 Answers 65 Views
Window
This is a migrated thread and some comments may be shown as answers.
Abhijit Shetty
Top achievements
Rank 2
Abhijit Shetty asked on 24 Oct 2010, 02:32 PM
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 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 25 Oct 2010, 07:12 AM
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.
0
Georgi Tunev
Telerik team
answered on 25 Oct 2010, 08:03 AM
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
Tags
Window
Asked by
Abhijit Shetty
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Georgi Tunev
Telerik team
Share this question
or