Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

asp.net validation rule

We would like to get some good looking validation message like the following website.
Just go thought the quote processing, and you can see those alert message.
It that possible to code with asp 3.0 and javascript?

http://www.vgminsurance.com/bonds/Application.aspx
0
Webboy2008
Asked:
Webboy2008
  • 3
  • 2
  • 2
1 Solution
 
oobaylyCommented:
Perfectly possible using just javascript. Its just an absolutely positioned div filled with some text depending on the validation error.
You'll need to have server side validation though which will display errors if the user has javascript disabled though.
0
 
Albert Van HalenAnalyst developerCommented:
The site is using the AjaxControlToolkit for ASP.NET.
For the validation the site use the ValidatorCallout. Have a look here : http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ValidatorCallout/ValidatorCallout.aspx

The AjaxControlToolkit can be downloaded from this site : http://www.asp.net/AJAX/AjaxControlToolkit/
0
 
Webboy2008Author Commented:
oobayly: you know any sample codes?
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
oobaylyCommented:
To be quite honest, I thingk AlbertVanHalen has given you you're answer
0
 
Webboy2008Author Commented:
guys, pls read the question carefully, it is asp 3.0 not asp.net
0
 
Albert Van HalenAnalyst developerCommented:
@Webboy2008 : Please select the zones carefully
0
 
oobaylyCommented:
Sorry AlbertVanHalen I read it as .Net 3.0, but to be fair this is in the ASP.Net & .Net Zones.
You might want to have a look for code in Dynamic Drive, it's where I used to go for stuff like this when I was writing classic asp pages.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now