We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to disable the Vertical Scroll bar in GridDataBoundGrid?

Thread ID:

Created:

Updated:

Platform:

Replies:

96032 Aug 17,2010 04:16 AM Aug 19,2010 10:00 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Lefeng Gu
Asked On August 17, 2010 04:16 AM

I want GridDataBoundGrid show all the rows, no need to scroll the vertical bar to go throught all the items, how to achieve this?

Manickam Chidambaram [Syncfusion]
Replied On August 19, 2010 10:00 AM

Hi gulefeng,

Thanks for your interest in Syncfusion Products.

Your requirement of disabling the Scroll bars in grid can be achieved by not specifying the width and height of the grid. In your case we suggest you not to specify the height for the grid control, this will disable the vertical scrollbar. Please refer below code snippet.

[Aspx Page]

AutoFormat="Vista" PageSize="12" >


Please note that in the above code height and width are not specified to disable the scroll bars. If the height and width are specified scrollbars will be shown if necessary.

For you convenience we created a sample. The sample can be download from the following link.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GRID_SCROLLBAR2-110113771.zip

Please let us know if it helps.

Regards,
Manickam



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;