Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WEb Form controls and Regular HTML controls

Status
Not open for further replies.

sm43

Programmer
Dec 1, 2002
155
0
0
US
What are main differences between Web Form Controls and Regular HTML Controls that are created in the Visual Studio .NET environment. For e.g, how are a Web Form Button and an HTML Button different.

Thanks.

Saad
 
Or more importantly, my question was: What is the difference between a server control and a plain HTML control. So essentially, server controls can have event-handling code defined at the server, while plain HTML controls do not. it's just adding the runat="server" attribute to the HTML attribute. It's not a concept new to .NET is it. It existed before .NET, server code for a "server control" can be in any server-side language including (VBSCript w/ classic ASP), PHP, Perl etc.

Thanks for your answer.

Saad
 
You are correct and no, it's not new to .NET, but .NET lends an easier way to interact with the server controls and provide enhanced mechanisms for integrating with the framework.

regards,
Brian
The problem with doing something right the first time is that nobody appreciates how difficult it was.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top