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

Clearning the grid

1 Answer 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 25 Sep 2012, 02:12 PM
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?

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 28 Sep 2012, 08:20 AM
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.
Tags
Grid
Asked by
Alexander
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or