Asp. NET extract--server-side control article (preface)

Source: Internet
Author: User
Tags client

We know that ASP. NET Web Forms add support for server-side controls, characterized by the addition of the runat= "server" attribute to the HTML markup of the control. The control that owns this tag, whose instance is generated on the server side, is responsible for converting the. NET Framework to normal HTML markup and outputting it to the client. The process of this transformation is an extremely important basis for asp.net. Why, then?

Friends who are familiar with HTML development should have a good understanding of the controls needed to write Dynamic Web pages (FORM, INPUT ...). )。 And ASP.net provides us with richer user interface interaction elements-server-side controls (simple button, Label, complex data controls including DataGrid)--they are the most intuitive part of ASP.net's powerful features.

You may have a question: How does a server-side control run on a client? The HTML specification does not have their shadow, but the client does not need a special environment to navigate the ASP.net page normally. How is this done?

Conversion--as if communication between the two heads of state needs to be translated, to allow server-side controls to be properly identified and run by the client, requires a conversion process-that is why the. NET framework exists.

The. NET framework transformation for controls is very complex, but as long as we understand the rules, we can use them.




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.