Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
Free Tools
Support and Learning
Productivity and Design Tools
Hello,
I have a grid that uses "EditForms" to edit a record. What I would like to achieve is to disable filtering while the grid is in edit mode (both for adding a new record or editing an existing one)
Thank you,
Marc
UPDATE:
I found this code:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item is GridEditableItem && e.Item.IsInEditMode) { RadGrid1.MasterTableView.GetItems(GridItemType.FilteringItem)[0].Visible = false; } }
It works, however... I would like it to work as well when I expand the detail table.
Please advise.
I found a solution that seems to work:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item.OwnerTableView.Name == "ChildID") { if (e.Item.Expanded) RadGrid1.MasterTableView.GetItems(GridItemType.FilteringItem)(0).Visible = false; } }