This credits that member, earns you a point and mark your thread as Resolved for the sake of Future Readers.
Append("\x" & Right("0" & Hex(Asc(c)), 2)) : Next str = vb Cr Lf & " I should add that the gridview is within an updatepanel. and Dont forget to click “Mark as Answer” on the post that helped you.
Replace(Chr(0), "") For Each c As String In s Message : sb. I tried the following which seems to be executing when I debug but the message box does not appear when I run the application: During gridview_Row Updating I call pleasure to help..
Page) Dim sb As New String Builder(Len(s Message) * 5) s Message = s Message.
I am trying to display an error message in the edit section of a ASPx Grid View 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 throwing a New Invalid Operation Exception.I am using the row Updating 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.Hello Varun: I assume that you can use the client-side Callback Error event for this purpose.I have created a simple example that illustrates this concept.Please try to update the Unit Price column with a literal value to test it. Disclaimer: The information provided on Dev and its affiliated web properties is provided "as is" without warranty of any kind.Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose.