Oct 12, 2011, 6:20 PM
[CLOSED] Header filters and remote paging
Hi,
I have store that does remote paging and header filtering. Things go bad when I try to page a header filtered result.
The "next page" doesn't honor the filters and passes an "empty" filter...
I have a store:
I 'm using header filters and everything works great, until I try to page the results.
The line in my ashx handler for the "filter" parameter comes back as empty.
I have store that does remote paging and header filtering. Things go bad when I try to page a header filtered result.
The "next page" doesn't honor the filters and passes an "empty" filter...
I have a store:
<Store> <ext:Store runat="server" ID="storeActivities" IDMode="Explicit" RemotePaging="true"
RemoteSort="true" >
<AutoLoadParams>
<ext:Parameter Name="start" Value="0" Mode="Raw" />
<ext:Parameter Name="limit" Value="13" Mode="Raw" />
</AutoLoadParams>
<BaseParams>
<ext:Parameter Name="start" Value="0" Mode="Raw" />
<ext:Parameter Name="limit" Value="13" Mode="Raw" />
<ext:Parameter Name="sort" Value="" />
<ext:Parameter Name="dir" Value="" />
<ext:Parameter Name="filter" Value="getFilters()" Mode="Raw" />
</BaseParams>
<Proxy>
<ext:HttpProxy Method="POST" Url="Handlers/ActivityInProgressHandler.ashx" AutoAbort="true"/>
</Proxy>
I 'm using header filters and everything works great, until I try to page the results.
The line in my ashx handler for the "filter" parameter comes back as empty.
//-- start filtering ------------------------------------------------------------
if ( !string.IsNullOrEmpty(filter) ) <=== COMES BACK EMPTY, DOES'T RECALL THE FILTERS
{
FilterConditions fc = new FilterConditions(filter);
foreach ( FilterCondition condition in fc.Conditions )
{
Ext.Net.Comparison comparison = condition.Comparison;
string field = condition.Name;
FilterType type = condition.FilterType;
Last edited by Daniil; Oct 18, 2011 at 1:35 PM.
Reason: [CLOSED]