I have DevExpress GridControl
in my MVC application along with simple search box to search and filter the values on all GridControl's string columns.
Here, I need to show the filtered text (search text) and filtered values on the GridControl
once after I attempt to reopen the form. May I know, how to achieve this?
Thanks in advance
@subash
Please try this
you can enable the following properties
, you can solve the problem
gridName.SettingsCookies.Enabled = true;
gridName.SettingsCookies.CookiesID = "YourCoookiesName";
gridName.SettingsCookies.StoreColumnsVisiblePosition = true;
gridName.SettingsCookies.StoreColumnsWidth = true;
gridName.SettingsCookies.StoreFiltering = true;
gridName.SettingsCookies.StoreGroupingAndSorting = true;
gridName.SettingsCookies.StorePaging = true;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.