Solved

asp.net validation rule

Posted on 2009-04-01
7
228 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now