473,668 Members | 2,348 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help Regarding Server Side Validation...

Hi All,

I m facing a problem. As u know asp.net vallidators did not work in non-microsoft browsers.
So for that i m using Server Side Solution. But i don't understand how can i show the validation summery with all messeges as they show on client side in IE.
Means that when we submit the form to server in IE, then page is validated on the client side and if there is some error these are shown in the Validation Summery as a list.
This thing i want to do in Non-Microsoft Browsers. Means when i validate the page on the server. Then i want to show all error messeges in validation summery as on the client side in IE.

Regard,
Muhammad Jamil Nawaz
Nov 19 '05 #1
2 1394
Validation in ASP.NET happens both client side and server side. Client side
only works if you have an IE browser. So for non-IE server side stuff still
fires and you shouldn't have to do anything special. The summary should also
be displayed just fine, as long as you don't use the ShowMessageBox= true
option.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hi All,

I m facing a problem. As u know asp.net vallidators did not work in
non-microsoft browsers.
So for that i m using Server Side Solution. But i don't understand how
can i show the validation summery with all messeges as they show on
client side in IE.
Means that when we submit the form to server in IE, then page is
validated on the client side and if there is some error these are
shown
in the Validation Summery as a list.
This thing i want to do in Non-Microsoft Browsers. Means when i
validate
the page on the server. Then i want to show all error messeges in
validation summery as on the client side in IE.
Regard,
Muhammad Jamil Nawaz


Nov 19 '05 #2
The ValidationSumma ry control looks through the list of validators on the
page to see if any are marked IsValid. It does this in the Page's PreRender
stage, after you have run Page.Validate() or Validate() on individual
validators.

If you have setup your Click event method correctly, it will test
Page.IsValid (or IsValid on individual validators) and only save when these
IsValid properties are true. If they are false, the page will continue to
output, showing all of the validators and the ValidationSumma ry.

FYI: My Professional Validation And More
(http://www.peterblum.com/vam/home.aspx), a replacement for Microsoft's
validators, supports client-side validation on many browsers including
FireFox, Opera 7, and Safari. It was designed to fix the limitations of
Microsoft's validators and help you avoid all of the custom coding and
hacks. It includes a utility to quickly convert pages to its validators.

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlu m.com
Creator of "Profession al Validation And More" at
http://www.peterblum.com/vam/home.aspx

"msnews.microso ft.com" <ja*******@hotm ail.com> wrote in message
news:%2******** *******@TK2MSFT NGP10.phx.gbl.. .
Hi All,

I m facing a problem. As u know asp.net vallidators did not work in
non-microsoft browsers.
So for that i m using Server Side Solution. But i don't understand how can i
show the validation summery with all messeges as they show on client side in
IE.
Means that when we submit the form to server in IE, then page is validated
on the client side and if there is some error these are shown in the
Validation Summery as a list.
This thing i want to do in Non-Microsoft Browsers. Means when i validate the
page on the server. Then i want to show all error messeges in validation
summery as on the client side in IE.

Regard,
Muhammad Jamil Nawaz
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2190
by: Hernán Castelo | last post by:
should i to validate all the "Request"s calls like Request.FORM("...") and Request.Cookies("...") ???? if it is so, i have to see inside every "Input" elements like "Text" and even "Hidden" and every Request.Cookies i'm using ??? thanks
4
1988
by: Adrienne | last post by:
I am the first to admit that I know bupkis about javascript, except that sometimes I need it to do something client side that I can't do server side. Anyway, here's my problem: <input type="text" name="ticket" id="ticket"> <input type="text" name="amount" id="amount"> My ASP script defaults ticket to be 30.00 and amount to be 600.00. What
3
5258
by: Navin | last post by:
Hello friends... On a single asp.net web page i have a single server-side form that contains a couple of user-controls. Each user control has its own functionality and contains server-side textbox controls, requiredfieldvalidator controls which validate the textboxes, and a linkbutton control that postbacks the web page. The problem is, when the user clicks on the linkbutton control on one user control, the requiredfieldvalidator gets...
14
6292
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2) show the error message next to the control. For example, if the text field is empty with RequiredField Validator control, it can show the value in ControlToValidate property in two ways as I mentioned. Please advise. Thanks!
4
10141
by: usl2222 | last post by:
Hi folks, I appreciate any assistance in the following problem: I have a form with a bunch of dynamic controls on it. All the controls are dynamically generated on a server, including all the validators. The user enters the data, presses OK. My OK button is dynamically generated as well, with some code-behind logic in
5
304
by: raagz | last post by:
Hi, I am using the .NET validation controls for validating . The validation works fine with IE but none of them work with Netscape 6 browser. Do i have to configure something in vS.NET to make the validations work in Netscape too or is it .net validation controls dont work with Netscape.
6
1433
by: serge calderara | last post by:
Dear all, I have read that ASP.NET does double user input validation of control when they are place on the page. Once on teh client side and again from server side right ? Could explain how this process is exaclty working ? regards thnaks for your help
2
1460
by: Chad Lupkes | last post by:
Hi everyone, I need help with a simple form validation. The form I'm using has been the target of some spammers, and I'm wondering what else I can do. I have a very simple validation, checking for blanks, and found an additional zipcode validation form here: http://javascript.internet.com/forms/val-zip-code.html I tried combining them, and it doesn't seem to be working. I'm not
19
3309
by: Ganesh J. Acharya | last post by:
Hi there, I want to redesign my website and make that look professional. I made this about 6 years ago with very little knowledge of internet. Today I am getting about 4000 visitors a day for the same. What are the things I need to keep in my mind when doing this process.
0
8890
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8653
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7398
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4376
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2786
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2018
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1783
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.