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

[Solved] JScript error while exit

1 Answer 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
Anto (DLL Version : 2008.3.1314.35) asked on 20 Apr 2009, 07:45 AM
Hi All

I have a grid with some datas

I have the validation in the edit mode for not entering the special characters.

Its works properly but while closing the form some javascript error appears.

My Code:

<

telerik:GridTemplateColumn AllowFiltering="true" DataField="PseudoName" HeaderStyle-Width ="150px"

 

 

HeaderText="Pseudo Name" UniqueName="PseudoName" SortExpression="PseudoName">

 

 

<ItemTemplate>

 

 

<asp:Label runat="server" ID="lblpsdoName" Text='<%# Eval("PseudoName") %>' />

 

 

</ItemTemplate>

 

 

<EditItemTemplate>

 

 

<asp:TextBox runat="server" MaxLength="100" Style="width: 205px; margin-left: 3px;"

 

 

ID="txpsdoName" Text='<%# Bind("PseudoName") %>' />

 

 

<asp:RequiredFieldValidator ID="Requiredfieldvalidator2" runat="server" ControlToValidate="txpsdoName"

 

 

ErrorMessage="Enter Pseudo Name!" Display="Dynamic" SetFocusOnError="true">

 

 

</asp:RequiredFieldValidator>

 

 

<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txpsdoName"

 

 

ValidationExpression="^[a-zA-Z][a-zA-Z \\s]+$" ErrorMessage="Enter Only Alphabets"></asp:RegularExpressionValidator>

 

 

</EditItemTemplate>

 

 

</telerik:GridTemplateColumn>

Advance Thanks

-Anto

 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 21 Apr 2009, 04:46 PM
Hi Anto,

I followed your scenario in order to replicate the issue but to no avail.
At this point I will ask you to open a formal support ticket and send us a small working project that isolates the problem so we can check it.

Regards,
Pavlina
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
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
Share this question
or