Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

asp.net validation rule

Posted on 2009-04-01
7
233 Views
Last Modified: 2012-05-06
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
Comment
Question by:Webboy2008
  • 3
  • 2
  • 2
7 Comments
 
LVL 15

Expert Comment

by:oobayly
ID: 24041497
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
 
LVL 19

Expert Comment

by:Albert Van Halen
ID: 24042830
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
 

Author Comment

by:Webboy2008
ID: 24051353
oobayly: you know any sample codes?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 15

Expert Comment

by:oobayly
ID: 24051586
To be quite honest, I thingk AlbertVanHalen has given you you're answer
0
 

Author Comment

by:Webboy2008
ID: 24055801
guys, pls read the question carefully, it is asp 3.0 not asp.net
0
 
LVL 19

Expert Comment

by:Albert Van Halen
ID: 24057179
@Webboy2008 : Please select the zones carefully
0
 
LVL 15

Accepted Solution

by:
oobayly earned 500 total points
ID: 24057653
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

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question