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

[Solved] AutoPostBackOnFilter loses values

3 Answers 124 Views
Grid
This is a migrated thread and some comments may be shown as answers.
DonKitchen
Top achievements
Rank 1
DonKitchen asked on 22 Apr 2009, 01:21 PM
I'm having a problem on my grids where I use filtering and the AutoPostBackOnFilter property set to TRUE.  It seems that when I first load the grid I can filter just fine on any column.  However any other columns I try to filter on don't apply the value or even retain the value that I put into the filter textbox.  The page posts back, but it doesn't retain or apply any filtering for those subsequent attempts.

Am I missing something simple here?

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 27 Apr 2009, 10:38 AM
Hi,

I tested the setup which you mentioned, and the control behaved as expected.
Attached to this message, you will find the code, which I used for testing.
Take a look at it and let me know if this is the expected behavior.

Sincerely yours,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
DonKitchen
Top achievements
Rank 1
answered on 28 Apr 2009, 01:15 PM
Add AJAX via this code and it seems to break.  What are your thoughts?

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="RadGrid1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
0
Yavor
Telerik team
answered on 05 May 2009, 06:03 AM
Hello,

Adding this setting preserves the behavior.
Attached to this message, is a modification of the code, which demonstrates this.
Let me know if I am leaving something out.

Sincerely yours,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
DonKitchen
Top achievements
Rank 1
Answers by
Yavor
Telerik team
DonKitchen
Top achievements
Rank 1
Share this question
or