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

Sorting a RadGrid that dynamically paints columns causes the grid columns to display odd results

1 Answer 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 25 Jun 2013, 03:32 PM
I've got a grid that based on the selected folder it will paint the correct columns. If you select a column to sort it seems to forget the columns it should display and instead displays the grid's hardcoded values with HTML values. 

See Attachments:
1. Grid columns display as they should (sorting1.png)
2. Click on a column header in the grid to sort the data
3. Grid columns change and display odd data (sorting2.png)

I've tested this and the first click causes the odd data, but if you click again it seems to fix everything.

Thanks, Jason

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 28 Jun 2013, 08:15 AM
Hello Jason,

Could you please send us your code declaration and the related code behind in order to investigate the issue further? Additionally could you please explain how you bind your grid and whether you are changing the data values dynamically?

Regards,
Kostadin
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
Jay
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or