Feb 25, 2011, 12:38 PM
Remote Filter always empty with DataContext
hi,
I am trying to rebuild the following example: https://examples1.ext.net/#/GridPane...ilters_Remote/
but when I filter up, nothing happens ??
I am using instead of the static List as FilteredTestData a reference to the dbml DataContext:
I am trying to rebuild the following example: https://examples1.ext.net/#/GridPane...ilters_Remote/
but when I filter up, nothing happens ??
I am using instead of the static List as FilteredTestData a reference to the dbml DataContext:
.....Store2_RefreshData()
{
//List<object> data = FiltersTestData.Data;
List<REF_object> data = REF_object.GetAll();
//string s = e.Parameters[this.GridFilters1.ParamPrefix];
string s = e.Parameters["gridfilters"];
here is the store and the BaseParams so far:<ext:Store ID="Store2" runat="server"
RemoteSort="true"
OnRefreshData="Store2_RefreshData"
WarningOnDirty="false"
RefreshAfterSaving="None" >
<Proxy>
<ext:HttpProxy runat="server" Method="POST" Url="RefObjectsController.ashx" />
</Proxy>
<Reader>
<ext:JsonReader IDProperty="Projektnummer" TotalProperty="total" Root="data" >
<Fields>
<ext:RecordField Name="active" />
<ext:RecordField Name="Projektnummer" />
<ext:RecordField Name="Projektname" />
<ext:RecordField Name="Ansprechpartner" />
......
<BaseParams>
<ext:Parameter Name="gridfilters" Value="" />
<ext:Parameter Name="sort" Value="" />
<ext:Parameter Name="dir" Value="" />
</BaseParams>
<AutoLoadParams>
<ext:Parameter Name="start" Value="0" Mode="Raw" />
<ext:Parameter Name="limit" Value="11" Mode="Raw" />
</AutoLoadParams>
<SortInfo Field="Projektname" Direction="ASC" />
<Listeners>
</Listeners>
</ext:Store>
thx so far