Wednesday, January 20, 2010

What are ASP.NET controls?

These are very basic questions. Shouldn't Yahoo answers provide categorizations to the level of complexity for the questions submitted?What are ASP.NET controls?
They are pre-made UI solutions built in to ASP.NET to solve common programming problems. For example, the ASP.NET TextBox control has built-in handling for retrieving the submitted value, and formatting the input field, without having to code that manually. The server worries about generating the correct HTML for the target browser type and all of the necessary accompanying code. As you can imagine, with much more sophisticated controls, It saves the developer a great deal of time by not having to worry about the common functionality that all sites and web applications must have.What are ASP.NET controls?
Before ASP.NET controls, the developer was completely in charge of the entire HTML output from the browser by virtue of the server-side code he wrote.





Although this might seem ideal, it created a problem because each browser interpreted the HTML given to it in a slightly different manner.





ASP.NET server controls overcomes this problem. When using the server controls provided by ASP.NET, you are not specifying the HTML to be output from your server-side code. Rather, you are specifying the functionality you want to see in the browser and letting the ASP.NET decide for you on the output to be sent to the browser.





When a request comes in, ASP.NET examines the request to see which browser type is making the request, as well as the version of the browser, and then it produces HTML output specific to that browser.





ASP.NET provides two distinct types of server controls鈥擧TML server controls and Web server controls.


Each type of control is quite different and, as you work with ASP.NET, you will see that much of the focus is on the Web server controls.





PS~ I don't think that Yahoo can afford to categorise the questions under programming %26amp; Design right now. Sometimes I see very basic questions being answered by ppl who have no clue what they're talking about. Categorising the questions requires that you have a greater number of people with credibility who can answer.

No comments:

Post a Comment