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

Column Width expanding during Horizontal Scroll

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 04 Jun 2013, 05:58 PM
I have a RadGrid on my page that I build totally in the code behind. During the Pre-Render of the RadGrid I am setting each of the column widths using the HeaderStyle.Width. I also have hierarchy views on some of the rows. I use the NeedDataSource to acquire data for the grid.

When I populate the Grid the first time, all column widths are in tact and scrolling horizontally works and looks correct. Then when I either page, filter or sort, the grid rebinds with the new data and presents itself looking correct. When I scroll horizontally, one column in the MasterTableView loses its width and expands out almost 4 times its current state.

My pre-render looks like it is working since the grid looks correct when it presents itself, it is just when I horizontally scroll.

This only happens on my test environment. In development and on my machine, this does not happen. Same dll's are used on all 3 enviroments. I am using version 2012.2.815.40

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 07 Jun 2013, 10:30 AM
Hello David,

Can you please verify that you have closely followed the steps provided in the following article?
http://www.telerik.com/help/aspnet-ajax/grid-programmatic-creation.html#Section4

Please provide us the exact steps to reproduce the issue or open a support ticket to send us a sample runnable application demonstrating the problematic behavior. Thus, we will be able to further analyze the project and provide a proper solution.

Regards,
Eyup
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or