Rowupdating event of
A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source. My question is if anyone has any ideas as to *why* this might be happening and how I can fix it. You can't use an SQLData Adapter without an SQLCommand object. @The Learned One: This is definitly a very cool application.I was asking about possibility to display the Error Row manually. Denis, You are right, it is impossible to show an error row during postbacks.It looks like the answer is NO, since in the other thread you suggested to use the Title panel instead. I'm sure the Title panel was not designed for this purpose. Are you planning to add functionality to allow displaying Error Row manually? We already have a similar suggestion, however we have decided to reject it.The event handler receives an argument of type SQLite Row Updated Event Args containing data related to this event.The following SQLite Row Updated Event Args properties provide information specific to this event.
So my revised quession is: is it possible to display the error row when it is not displayed automatically? Denis, I am afraid, ASPx Grid View cannot catch exceptions that are raised during postbacks.HTML CODE: C# Code Behind: private void Bind Data() protected void gv Categories_Row Editing(object sender, Grid View Edit Event Args e) protected void gv Categories_Row Updating(object sender, Grid View Update Event Args e) does a template field allow you to get around indexing? Also, my code below works pretty well, I even have the framework worked out to get my data values from the gridview. However, please also take a look at the following thread which may be helpful in your scenario: Enable Callbacks = false brakes grid exception catching Thanks, Marion Marion, Thanks for the other thread that you pointed to, it is helpful.However, my question was not about how to make ASPx Grid View to catch exceptions during postbacks.