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

clear all data from radgrid

2 Answers 153 Views
UI for ASP.NET AJAX in ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
Jack
Top achievements
Rank 1
Jack asked on 02 Dec 2010, 11:40 AM
hi to all
 i have a radgrid bind on neededdatasource and now i want to rebind it on button click before that i want to clear the radgrid.
How can I do this?
help me......
thanks

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 02 Dec 2010, 01:02 PM
Hello Goldy,

I'm not sure that I understand why do you need to clear RadGrid - you can call the Rebind method manually and the control will bind itself to the desired data.
If you post some more information about your scenario I will be able to provide more to-the-point answer.

Best regards,
Daniel
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Jaroslaw
Top achievements
Rank 1
answered on 15 Mar 2011, 03:28 PM
I have this problem that after i rebind my grid and my new data source (data table) is null my grid is not empty old data remains
Tags
UI for ASP.NET AJAX in ASP.NET MVC
Asked by
Jack
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Jaroslaw
Top achievements
Rank 1
Share this question
or