Question

Does anyone know how to validate if you are in Add Mode vs. Edit Mode for the radGrid? In the codebehind, I want to check to see if the user selected Add a Record or Edit an Existing.

Thanks

Was it helpful?

Solution

What I learned when playing with RadGrid for ASP.NET AJAX is: - the IsItemInserted property of the master table can help you find out whether you are in insert mode or not - the when EditItems or EditIndexes collections are not empty, you have grid items in edit state

Dick

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top