radGrid Add new record vs. Edit Record
문제
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
해결책
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
제휴하지 않습니다 StackOverflow