Introduction to asp+ Syntax (v)----asp+ server-side program control piece

Source: Internet
Author: User
Tags client
asp+| Programming | server | control | syntax | server | control/*
Article Source: http://www.aspCool.com reprint Please specify, thank you!
*/
Using a custom server control
With 45 server controls available in asp+, we can use them like black boxes. In addition, developers can also use any Third-party-developed server controls
In the following example, we use a component that is declared through the <acme:calendar runat=server> label, note that the prefix of the "Acme Xml" label must be declared in the first line of the file using the <% Register%> Acme ". In the asp+ file, an instance of the class of this named server control will be used.
Code: (Due to the restrictions of input, there is no way, the details can go to http://www.aspcool.com)
The demo of this example
Http://tutorial.superexpert.com/quickstart/aspplus/samples/webforms/intro/intro7.aspx
This calendar server control can support both advanced and low-level browsers, and for advanced browsers, he generates DHTML code on the client, and DHTML documents do not need to interact with the server! For low-level browsers, the standard HTML 3.2 code is generated, which requires interaction with the server to handle user actions on the browser client
Note: Developers of this page's code do not need to care whether the client's browser is advanced or low-level in the process of writing. The Calendar control itself handles the differences between two browsers
Next, we will enter the asp+ Operation Database section, please feel free to pay attention to our site update!



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.