entity framework - How to perform gridview edit with old filtering data in Asp.Net Dynamic data web application -
I have an asp net dynamic data web application page with search filter provided for grid view and filtering data. When the user provides some search criteria and clicks on the edit option on the grid view without clicking on the search button, the grid view is binding with the data based on the search criteria provided by the user.
Is there a way to bind the grid view to the original data instead of the search results in this case?
Thanks,
Pravin
Protected Zero Page_Init (Object Sender, EventArgs e)
{table = DynamicDataRouteHandler.GetRequestMetaTable (reference); GridView1.SetMetaTable (table, table.getColumnValuesFromRoute (reference)); GridDataSource.EntityTypeFilter = table.EntityType.Name;
}
Comments
Post a Comment