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

Still having RadGrid layout breaks on postback problem

1 Answer 13 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mickey
Top achievements
Rank 1
Mickey asked on 08 Oct 2013, 01:57 PM
I am using RadGrid 2013.2.717.40.

Here is the markup:
   <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True">
   </telerik:RadGrid>

The grid is bound to a datasource in code.

No matter what action I take - in this case Sort - the grid becomes a single horizontal line after postback.

This has happened in many previous attempts to use this control when trying to add, edit, delete items, etc. 

Any ideas?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 09 Oct 2013, 04:24 AM
Hi Mickey,

Make sure that you are binding the RadGrid using NeedDataSource event of the RadGrid.Please go through this documentation on Advanced Data-binding (using NeedDataSource event).
If this doesn't help,please provide your full code snippet.

Thanks,
Princy
Tags
Grid
Asked by
Mickey
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or