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

RadGrid Horizontal scrolling doesnot work

3 Answers 876 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
SARAVANA KUMAR
Top achievements
Rank 1
SARAVANA KUMAR asked on 28 Apr 2016, 12:12 PM

Hi ,

  I have implemented the radgrid dynamically from code behind which the number of columns may vary according to the page we open, here the problem is am not getting the horizontal scrollbar for radgrid instead am getting horizontal scrollbar in page. Here i need the radgrid to take the size of page and horizontal scrolling should come for radgrid. Please let me know if anyone knows the solution.

3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 03 May 2016, 06:23 AM
Hello Saravana,

You can enable the AllowScroll property to achieve this requirement and control the Width property of the RadGrid and MasterTableView tags:
http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/scrolling/scrolling/defaultcs.aspx

Hope this helps.


Regards,
Eyup
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
SARAVANA KUMAR
Top achievements
Rank 1
answered on 03 May 2016, 07:02 AM
Am dynamically creating the grid and placing it in the table <td> when i reduce the width of the grid , some columns at left of grid gets stripes off and am not getting the scroll bar to scroll 
0
Eyup
Telerik team
answered on 06 May 2016, 04:54 AM
Hello Saravana,

Please make sure that you are creating the grid during Page_Init event handler:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/defining-structure/creating-a-radgrid-programmatically#creating-a-radgrid-on-page_init

Also, verify that the grid scrolling works as expected outside any container and placed directly on the page either by using a PlaceHolder or adding it to the Forms.Controls collection.

If the issue remains on a isolated RadGrid, you can open a formal support ticket and send us a very basic runnable web site sample demonstrating the problematic behavior.

Regards,
Eyup
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
General Discussions
Asked by
SARAVANA KUMAR
Top achievements
Rank 1
Answers by
Eyup
Telerik team
SARAVANA KUMAR
Top achievements
Rank 1
Share this question
or