A
Ahmed Jewahar
Hi All,
I'm new to this forum as well as new to ASP.NET. My backgorund is ASP.
But, I'm just doing my .NET course with MS Certified training center
currently.
I have couple of questions (it may be silly for you !) and really
appreciate if you could share your expertise with me.
QUESTION - 1
-----------------
In my ASP (not NET) I managed to display HTML controls such as TEXT BOX,
BUTTON etc.. in the center of screen using HTML TAG <DIV>. and <CENTER>.
I just done one ASP.NET Applicaiton with one WebForm1 for testing which
contain number of "Server Controls". It's working fine. But, I don't
know how to center all the CONTROLS in the center of screen while it
runs !. For instance I have a client from 17" monitor or client with
screen resolution 1056x ?.
Basically I want put my all control similar to I have done in my Classic
ASP using HTML TAGS <CENTER> and <DIV> which helped me out to display
all the controls in the center of screen with size I defined with <DIV
style> Tag.
QUESTION 2
--------------
If I use ASP.NET to design form and develop applicaiton, can I do all
sort of Client validation using ASP.NET ?. For instance in Classical
ASP, I run "JavaScript" functions which execute upon "Form" onSubmit
event. This function I used to check whether user entered values in all
the fileds required !. How can I do the same in ASP.NET ?. Still do I
required JavaScript funciton to do the Client Validaiton in ASP.NET ?
QUESTION 3
-*------------
If we use ASP.NET to develop applicaiton, shall we still required HTML
controls and Client side scripts whcih normally developes uss in the
Classical ASP ?.
Hope all above make sense. Sorry for such a lenghty question..
Appreciate all your advise towards my questions.
Many thanks in advance..
Best regards,
Ahmed Jewahar
I'm new to this forum as well as new to ASP.NET. My backgorund is ASP.
But, I'm just doing my .NET course with MS Certified training center
currently.
I have couple of questions (it may be silly for you !) and really
appreciate if you could share your expertise with me.
QUESTION - 1
-----------------
In my ASP (not NET) I managed to display HTML controls such as TEXT BOX,
BUTTON etc.. in the center of screen using HTML TAG <DIV>. and <CENTER>.
I just done one ASP.NET Applicaiton with one WebForm1 for testing which
contain number of "Server Controls". It's working fine. But, I don't
know how to center all the CONTROLS in the center of screen while it
runs !. For instance I have a client from 17" monitor or client with
screen resolution 1056x ?.
Basically I want put my all control similar to I have done in my Classic
ASP using HTML TAGS <CENTER> and <DIV> which helped me out to display
all the controls in the center of screen with size I defined with <DIV
style> Tag.
QUESTION 2
--------------
If I use ASP.NET to design form and develop applicaiton, can I do all
sort of Client validation using ASP.NET ?. For instance in Classical
ASP, I run "JavaScript" functions which execute upon "Form" onSubmit
event. This function I used to check whether user entered values in all
the fileds required !. How can I do the same in ASP.NET ?. Still do I
required JavaScript funciton to do the Client Validaiton in ASP.NET ?
QUESTION 3
-*------------
If we use ASP.NET to develop applicaiton, shall we still required HTML
controls and Client side scripts whcih normally developes uss in the
Classical ASP ?.
Hope all above make sense. Sorry for such a lenghty question..
Appreciate all your advise towards my questions.
Many thanks in advance..
Best regards,
Ahmed Jewahar