Hi, i use the radgrid and allows grid can have the scroll bar in the pop-up page, but pop-up window also have scroll bar. this is results in the two scroll bars.That is not what i want. I don't want to have the window scroll bar,only grid scroll bar. Could you help me? Thank you!
<asp:SqlDataSourceID="SqlDataSource1"runat="server"ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" SelectCommand="SELECT TOP 10 * FROM Customers"></asp:SqlDataSource>
1 Answer, 1 is accepted
answered on 16 Jul 2010, 08:10 AM
Hello vincent chen,
To prevent a RadWindow from showing a scrollbar you should resize it to be as big as its content and this is expected and how things work not only with RadControls but also with all standard HTML elements.
To achieve this you can try the following options:
1) If you know the size of the content you can directly specify the Width and Height properties in the markup or use the client setSize method.
2) If you do not know the size of the content you can use the AutoSize property which is demonstrated below:
I hope that my reply is helpful, let me know how it goes.
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