Wednesday, January 20, 2010

What are ASP.NET Controls?

from wiki:





';ASP.NET Web User Controls is a small section of a ASP.NET page that can include static HTML code and web controls. User Control, while easy to create visually under IDE such as Microsoft Visual Studio, can be reused in multiple page in the same Web application. Due to the ease in creating user controls, and the benefits reuse provides, many Programmers turn to user controls for rendering the headers, footers, navigation links, and other common user interface elements of a page.';





Check the sources I've listed for more information.What are ASP.NET Controls?
Web server controls are .NET Framework objects that are converted by ASP.NET to HTML elements at run time. When a browser requests a page that contains Web server controls, ASP.NET generates HTML output based on the definition of the Web server controls on the page and returns that output to the browser. For example, if you have added a DropDownList Web server control to a Web page, ASP.NET sends a SELECT HTML element to browser. The SELECT element is the HTML equivalent of a DropDownList Web server control.





Web server controls include not only form-type controls such as buttons and text boxes, but also special-purpose controls such as calendars and tree views.





Hope this helps.

No comments:

Post a Comment