I have added some of the columns in grid at run time and some at design time.Sorting is not working on some of the columns and on clicking those columns the entire grid gets disappears and filtering is not at all working.
Inorder for sorting and all to work you cannot add columns in grid at run time and some at design time,either you have to add all columns at runtime or all at designtime.
I assume that you are binding the grid in PageLoad event, which is
Simple data binding technique. If you are using any advanced feature in
grid(like filtering), then a better approach is using "AdvancedData binding" using
NeedDataSource event.