Some doubt

Tristan

Member
Joined
Feb 14, 2005
Messages
5
Programming Experience
Beginner
1)
I read somewhere that with .Net I can do everything whitout using Javascript ...
It's true? Can I handle client-side event using only .Net?
Mhhhh ... I'm not able to show an alert-like message after a click on an HTML control!

2)
Can someone tell me the difference beetwen (for example)
<Input Type="Checkbox" Runat="Server">
and
<ASP:CHECKBOX RUNAT=server ></ASP:CHECKBOX>

TNX.
 
1)
I read somewhere that with .Net I can do everything whitout using Javascript ...
It's true? Can I handle client-side event using only .Net?
Mhhhh ... I'm not able to show an alert-like message after a click on an HTML control!

--> This is true to the extent that all your controls have a runat=server attribute. But you will not be able to gain the advantages provided by javascript.
Another fact is using just the ASP.NET events will need a round trip to the server even for simple validations which could be done using javascript..
 
Back
Top