asp.net ---- html question?

  • Thread starter Thread starter Prashant
  • Start date Start date
P

Prashant

Guest
An ASP.Net follows an .aspx extension and contains controls that run at the server side. On an HTML page that ends up with .htm or .html extension only client side controls can be placed. No server side controls like TreeView, GridView etc can be placed on an HTML page. It will be better for you to create an ASP.Net page. Place all your controls on it and use the "code behind" feature to add the desired code in C# or VB.
 
is it okay to add a few asp.net controls to a html page, or would i have to put all html into a asp.net site.
 
Just make sure your web server has the right version of .net installed or your asp controls won't work.
 
Back
Top