Hi all. After upgrading to the 2009 Q2 version of ASP.NET AJAX controls, the filterexpression property of radgrid does not work anymore. I mean that the initial filter(When page load) is not filtering anything. My radgrid is binded using a list of custom objects, and the filterexpression code block that I use is:
if (Assembly.GetAssembly(typeof(ScriptManager)).FullName.IndexOf("3.5") != -1)
{
rgMenu.MasterTableView.FilterExpression = @"it[""ParentMenuID""] == Guid.Empty";
}
else
{
rgMenu.MasterTableView.FilterExpression = "ParentMenuID== Guid.Empty";
}
In the avobe mentioned code, ParentMenuID is a property of my custom object, and I want to filter the list of this objects, showing only the ones who have ParentMenuID == Guid.Empty.
I will really appreciate your help and response.
Thanks a lot
Ivan Aquino
if (Assembly.GetAssembly(typeof(ScriptManager)).FullName.IndexOf("3.5") != -1)
{
rgMenu.MasterTableView.FilterExpression = @"it[""ParentMenuID""] == Guid.Empty";
}
else
{
rgMenu.MasterTableView.FilterExpression = "ParentMenuID== Guid.Empty";
}
In the avobe mentioned code, ParentMenuID is a property of my custom object, and I want to filter the list of this objects, showing only the ones who have ParentMenuID == Guid.Empty.
I will really appreciate your help and response.
Thanks a lot
Ivan Aquino