If I delegate to the custom Error event I am not able to specify a meaningful error. ASPx Grid View Custom Error Text Event Args e) So the custom error from the middle tier is lost, and user can not understand what went wrong. Fixed, with reservations.....protected void ASPx Grid View1_Custom Error Text(object sender, Dev Express. goes against what I would like to do instinctively so I just want to make sure.It always defaults to:"Exception has been thrown by the target of an invocation."as opposed to trying to set the error below like recommended:protected void ASPx Grid View1_Custom Error Text(object sender, Dev Express. Hello Russell, When the ASPx Grid View throws a callback, it catches exceptions by default, because each exception during the page processing cancels page generation.Even if a callback occurs, the ASPx Grid View (and other DX controls) catch exceptions to show them in the appropriate format.For example, the ASPx Grid View shows an error message, the ASPx Callback Panel shows an alert and so on.
If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site. For this situation, many developers use invisible columns (Hidden columns) in the gridview to identify that row. We can achieve the same functionality using Datakeys. If you catch exceptions with a try...catch block, the ASPx Grid View sees that everything is fine, and doesn't render the error message.I'm glad that you've solved the issue in the correct way.