Clearning the grid

2 posts, 0 answers
  1. Alexander
    Alexander avatar
    152 posts
    Member since:
    Jun 2012

    Posted 25 Sep 2012 Link to this post

    Hi,
    got such a problem.
    Have an updatepanel with autopostback combo.
    Selection in the combo is affecting grid datasource.
    If the combo item is a first one, that says "Select [blabla]" - data in the grid must be cleared.

    When I use DataSource = null assignment, the grid is getting hidden, but when I select some item after this, there is exception
    "Failed to load viewstate".

    So, how to organize the code properly in my case?
  2. Andrey
    Admin
    Andrey avatar
    836 posts

    Posted 28 Sep 2012 Link to this post

    Hello,

    You could check this online demo application which demonstrates similar approach like yours.

    Regards,
    Andrey
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top