RadGrid Add new record vs. Edit Record

radgridtelerik

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

Best Answer

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

Related Topic