This is a migrated thread and some comments may be shown as answers.

Textbox in Grid FormEdit Weird behavior

1 Answer 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jae park
Top achievements
Rank 1
jae park asked on 27 Feb 2009, 07:17 PM
Hello

I have a grid with 3 columns (Date, Qty, Note)
I use a FormTemplate to Edit.
Everything works fine.  However, when I enter the character < follow by a letter such as  <c  in the textbox and click update, it causes an error on the Internet Explorer page.

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500


It also gives the error on Inserts
Is this a bug, or am I doing something wrong?


Edit: Just tested this out in one of your online Grid Edit demos.  It causes to give an error saying the page is not found.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 02 Mar 2009, 12:52 PM
Hello Jae,

I already answered your support ticket.

Summary:
You are trying to submit unclosed tags and this causes an error. This would happen also when using regular ASP.NET controls (<asp:TextBox ... />).

I suggest you either use a validation or handle Page OnError and display more user-friendly error message.

Let me know if I can assist you further.

Kind regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
jae park
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or