|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Page is not submitted using Client side validation of.NET validatoHello
I want my .aspx page to have client side validation when using required field/custom validator. It works fine in may http://localhost/... ; When i uploaded the project in a web server then the validator works fine but page does not submit when the validation is successful. I tried it with EnableClientScript="False" and using Page.IsValid= True. But my client demand only client side validation. Using javascript is too tedious for my project at this final stage. So I need your help on this problem and i also seek for the specific process if any to upload asp.net project in web server(web site). This is very urgent. Thank you Sudip There are two setup problems users run into when they move to a new server.
See this thread for directions: http://forums.asp.net/739537/ShowPost.aspx Regarding a requirement for client-side validation, even if your client wants only client-side validation, you should always handle validation on the server side too. By testing Page.IsValid=true, you have done this. The reason is that client-side validation was written for DHTML browsers (IE and IE/Mac). It is not active on Mozilla, FireFox, Netscape, Opera, or Safari. Even IE may have javascript disabled. So the server side validation is your defense. I have written an extensive improvement for ASP.NET validators called Professional Validation And More (http://www.peterblum.com/vam/home.aspx). Its 25 validators support client-side validation on DHTML and DOM browsers (IE, IE/Mac, Mozilla, FireFox, Netscape, Opera 7 and Safari). It comes with a program to quickly convert a page from Microsoft's validators to mine. --- Peter Blum www.PeterBlum.com Email: PLB***@PeterBlum.com Creator of "Professional Validation And More" at http://www.peterblum.com/vam/home.aspx Show quoteHide quote "Sudip" <Su***@discussions.microsoft.com> wrote in message news:9D3F6330-1CE9-4CFF-8405-803710CE958A@microsoft.com... > Hello > I want my .aspx page to have client side validation when using required > field/custom validator. It works fine in may http://localhost/... ; When i > uploaded the project in a web server then the validator works fine but > page > does not submit when the validation is successful. I tried it with > EnableClientScript="False" and using Page.IsValid= True. But my client > demand > only client side validation. Using javascript is too tedious for my > project > at this final stage. So I need your help on this problem and i also seek > for > the specific process if any to upload asp.net project in web server(web > site). This is very urgent. > Thank you > Sudip >
How to update a Image control?
Infragistics Ultra Web Grid Updating Problem Listbox Webcontrol SelectedIndexChanged Event not working load event doesn't fire unless init event is present OWC11 (connect Spreadsheet + Chart) Complex CompareValidator Validations DataGrid and Paging. Datagrid not displaying in apsx webpage problems with activex controls on web page ie webcontrol tabstrip |
|||||||||||||||||||||||