473,387 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Classic ASP vs .Net - validation

Hi

I did my first web site/app recently using asp. Although I found the
language easy, the end result compared to a typical client/server app
v.messy. My inexperience probably contributed to messy code. I found
the client side scripting for validation etc very tricky and time
consuming.

I see the validation is built in to the ASP.net controls and this
makes me think of taking up .NET. I read it can do server side
validation, how can it validate user imputs once page has been
rendered?

Does .NET generate the client side script for all the different
browsers? So when programming they look like say VB controls but from
the browser end its just normal HTML with javascript validation/event
driven code? without having to install/download special stuff on the
clients like the ActiveX model.

Any example web sites I can see web pages .NET generates? and compare
in IE/Mozilla

Thanks
Nov 21 '07 #1
1 1066

"Yitzak" <te*********@yahoo.co.ukwrote in message
news:4a**********************************@c29g2000 hsa.googlegroups.com...
Hi

I did my first web site/app recently using asp. Although I found the
language easy, the end result compared to a typical client/server app
v.messy. My inexperience probably contributed to messy code. I found
the client side scripting for validation etc very tricky and time
consuming.

I see the validation is built in to the ASP.net controls and this
makes me think of taking up .NET. I read it can do server side
validation, how can it validate user imputs once page has been
rendered?
It emits clients side script, if you have client side validation on. You
should validate on both sides, however, to avoid people hacking you to
change those values.
Does .NET generate the client side script for all the different
browsers? So when programming they look like say VB controls but from
the browser end its just normal HTML with javascript validation/event
driven code? without having to install/download special stuff on the
clients like the ActiveX model.
It uses JavaScript and the validation is basic enough it should work in all
browsers. The exception is the custom validator, which you write the
JavaScript for.
Any example web sites I can see web pages .NET generates? and compare
in IE/Mozilla
Try this:
http://quickstarts.asp.net/QuickStar...n/default.aspx

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
Nov 21 '07 #2

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

Similar topics

18
by: Lorenzo Bolognini | last post by:
Hi all, i am an ASP developer with 1,5+ years experience. After sneaking around the ASP Classic world for a bit i became a bit dissatisfied of my ASP code practices so i'd like to have some...
10
by: bregent | last post by:
I've seen plenty of articles and utilities for preventing form injections for ASP.NET, but not too much for classic ASP. Are there any good input validation scripts that you use to avoid form...
6
by: JimLad | last post by:
Hi, We have a major ASP app that we are in the process of upgrading to ASP.NET 1.1 and probably on to ASP.NET 2.0 in the middle of next year. (We will also be upgrading to SQL2K5 at the same...
4
by: Fregas | last post by:
There is an old site that i'm having to maintain in classic asp. For some reason, the original developers didn't belive in validation, so there are many places where if the user puts in invalid...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.