This question is locked. New answers and comments are not allowed.
I am running this same example http://demos.telerik.com/aspnet-mvc/grid/filtering in debug mode. I am using Q3 2010. Here is the controller:
public
ActionResult Filtering(
string
startsWith)
{
ViewData[
"startsWith"
] = startsWith ??
"Paul"
;
return
View(GetOrders());
}
[GridAction]
public
ActionResult _Filtering()
{
return
View(
new
GridModel<Order>
{
Data = GetOrders()
});
}
If action Filtering (server) returns no record, action _Filtering (ajax) is invoked. Why is that? Not sure if this is by design, but what if I dont want to the Ajax select method being invoked? Is there a work around?
To reproduce, enter "Q" in the textbox and press Apply.