Click here to Skip to main content
15,878,048 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a problem with telerik radgrid sorting.when i'm sorting radgrid column then application close or logout and next time login already sorted column is available. how to solve this problem.

I assume youre getting data from database using some bindings or so. First thing i figured out is the data can be saved after sorting. If you dont want edit anything through grid set IsReadOnly on True. If not i have no clue... I've been working with Telerik since 2 months and never had such problem.

Heres my typical set of propeties for GridView wiew i'm using in most of cases:

<wfcGrid:WFGridView CanUserReorderColumns="False" AutoGenerateColumns="False" x:Name="dgDocuments"
                        HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5" SelectionChanged="dgDocuments_SelectionChanged"
                        ShowInsertRow="False" ShowGroupFooters="False" ShowGroupPanel="False" ItemsSource="{Binding Documents}"
                                             RowLoaded="dgDocuments_RowLoaded" RowIndicatorVisibility="Collapsed" CanUserSortColumns="True"
                                            ScrollViewer.HorizontalScrollBarVisibility="Hidden" IsReadOnly="True">

Don't mind namespaces. It's just custom control which inerits from GridView.
Share this answer
This is third party control.
Telerik provide support for their product.
Try posting question in their forum.
Share this answer
I just think, posting such issues about a 3rd party control at telerik Forum would be more useful.
Here:TELERIK Forum[^]
Might be someone already discussed it over there! Search before posting.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900