开发者

ASPxGridView showing row updating errors

I am trying to display an error message in the edit section of a ASPxGridView when a user has tried to submit invalid data.

I have been looking around and have found one blog that allows me to place an error message in red once it has filed validation by throwi开发者_JS百科ng a New InvalidOperationException.

I am using the rowUpdating method as described in the blog, but the exception forces my code to stop the code in visual studio (like you would at a break point) and displays the message. Once I click play again, the code carries on and the program continues.

How do I stop the application from stopping once the exception has been called and carry on. Is there another way to do this?

ASPxGridView FAQ: How to Enable Editing


Look at Data Editing. There is also a link about Validating data on the same page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜