PDA

View Full Version : [CLOSED] NumericFilter problem in 3.0



cottimucin
Nov 14, 2014, 11:13 AM
I get this error below

'Ext.Net.GridFilters' does not contain a definition for 'Filters' and no extension method 'Filters' accepting a first argument of type 'Ext.Net.GridFilters' could be found (are you missing a using directive or an assembly reference?)



protected void hoca_secildi(object sender, DirectEventArgs e)
{

NumericFilter sf = (NumericFilter)GridFilters1.Filters[1];

if (HOCA.SelectedItem.Index != -1)
{
sf.SetValue(Convert.ToInt32(HOCA.SelectedItem.Valu e));
sf.SetActive(true);
}
else
{
sf.SetValue(0);
sf.SetActive(false);
}

//NumericFilter sf = (NumericFilter)GridFilters1.Filters[1];
//string hoca = sf.GetValue.ToString();


}

Daniil
Nov 14, 2014, 7:43 PM
Hi @cottimucin,

The GridFilters plugin has been quite reworked.

Please see #27.
http://examples3.ext.net/#/Getting_Started/Release_Documents/BREAKING_CHANGES/