ASP.NET FORM SUBMISSION

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

HI,
I recently moved to .NET from asp.When ever I am doing coding in .NET,every
time my mind is diverting to ASP side and I am comapring with ASP coding
structure.In general, in .NET ,how and where (client side or server side) you
will do the validations and how you will submit a form.

1)In ASP ,most of the validations we will do at client side.What in .NET?,
because in .NET we have validation controls.
2)How we will submit a form.
It would be great help,if some body help me in this .
 
Validation controls perform validations on both client-side and server-side.
You can disable the client-side validation. It is generally recommended to
perform the validation on both the sides.

Form submit can be performed using Buttom, LinkButton or ImageButton
controls. Other controls such as DropDownList, RadioButton, CheckBox also
support form submit on selection/click.


HI,
I recently moved to .NET from asp.When ever I am doing coding in .NET,every
time my mind is diverting to ASP side and I am comapring with ASP coding
structure.In general, in .NET ,how and where (client side or server side)
you
will do the validations and how you will submit a form.

1)In ASP ,most of the validations we will do at client side.What in .NET?,
because in .NET we have validation controls.
2)How we will submit a form.
It would be great help,if some body help me in this .
 
When working with .NET, forget everything you learned about asp. It
will just cause you problems. Think of ASP.NET as an event driven
model. Asp was more of a top down flow model.

The best thing to do is learn the order of events in ASP.NET life
cycle. Take a look at this site for some good info:
http://www.15seconds.com/issue/020102.htm

Once you understand the ASP.NET life cycle you can then start to
understand how to write solid websites using .NET.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top