clear all data from radgrid

Thread is closed for posting
3 posts, 0 answers
  1. Jack
    Jack avatar
    67 posts
    Member since:
    Jul 2010

    Posted 02 Dec 2010 Link to this post

    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......
  2. Daniel
    Daniel avatar
    4934 posts

    Posted 02 Dec 2010 Link to this post

    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,
    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.
  3. DevCraft R3 2016 release webinar banner
  4. Jaroslaw
    Jaroslaw avatar
    1 posts
    Member since:
    Mar 2011

    Posted 15 Mar 2011 Link to this post

    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
Back to Top