Hi,
I'm using the radGrid with the Linq datasource to load 10 000 rows with paging.
This really works perfect because in 1 sec the whole page is loaded.
But because my website is in 2 language and there are too many filter options I want to change those options with the codebehind.
But when I tried this solution : http://www.telerik.com/help/aspnet-ajax/grdreducingfiltermenuoptions.html the whole datagrid need more than 5 sec to load which is not acceptable, is there any solution to change this?
Thnx you!
Kevin
I'm using the radGrid with the Linq datasource to load 10 000 rows with paging.
This really works perfect because in 1 sec the whole page is loaded.
But because my website is in 2 language and there are too many filter options I want to change those options with the codebehind.
But when I tried this solution : http://www.telerik.com/help/aspnet-ajax/grdreducingfiltermenuoptions.html the whole datagrid need more than 5 sec to load which is not acceptable, is there any solution to change this?
protected
void
RadGrid1_Init(
object
sender, System.EventArgs e)
{
GridFilterMenu menu = RadGrid1.FilterMenu;
int
i = 0;
while
(i < menu.Items.Count)
{
if
(menu.Items[i].Text ==
"NoFilter"
||
menu.Items[i].Text ==
"Contains"
||
menu.Items[i].Text ==
"EqualTo"
||
menu.Items[i].Text ==
"GreaterThan"
||
menu.Items[i].Text ==
"LessThan"
)
{
i++;
}
else
{
menu.Items.RemoveAt(i);
}
}
}
Thnx you!
Kevin