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

Refresh Content

3 Answers 181 Views
GridView
This is a migrated thread and some comments may be shown as answers.
dennis
Top achievements
Rank 1
dennis asked on 22 Nov 2008, 08:31 AM
i have  radgridview with a datasource of type bindingsource that is linking to a linq2sql class.

when i insert a new record i want call a method to refresh the grid.
Im inserting from a detail view, not from the grid.

 have tried with  refrsh method in the bindingsourc, and with an update in the grid but nothing happens.

3 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 26 Nov 2008, 08:36 AM
Hi Dennis,

Thank you for writing.

RadGridView handles the ListChanged event and automatically refreshes its data if the underling data source has been changed. I cannot say why this does not work in your case, but you could handle the ListChanged event of your BindingSource and debug from there to find the issue.

If you do not manage to resolve this, please send me a small example application that demonstrates your scenario. It will help me to investigate your case and provide you with further assistance.

 
Regards,
Martin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Robert Stuczynski
Top achievements
Rank 1
answered on 05 Feb 2010, 01:44 PM
0
Martin Vasilev
Telerik team
answered on 10 Feb 2010, 02:05 PM
Hello guys,

Please, follow this forum link. We are going to post a detailed answer there.

Sincerely yours,
Martin Vasilev
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
GridView
Asked by
dennis
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Robert Stuczynski
Top achievements
Rank 1
Share this question
or