Introduction to asp+ syntax (5)----server-side programming controls of asp+
Author:Eve Cole
Update Time:2009-05-30 19:54:05
Using customized server controls provides 45 ready-made server controls in asp+, and we can use them like black boxes. In addition, developers can also use any server control developed by a third party. In the following example, we are going to use a component declared through the <acme:calendar runat=server> tag. Please note that in the first line of the file Must use <%
Register %> to declare the prefix "Acme" for the "Acme
Code: (Due to input restrictions, there is no other way. For details, please go to http://www.aspcool.com)
This example is demonstrated in
http://tutorial.superexpert.com/quickstart/aspplus/samples/webforms/intro/intro7.aspx
The server control of this calendar can support both advanced and low-level browsers. For advanced browsers, it generates DHTML code on the client, and the DHTML document does not need to interact with the server! For low-level browsers, standard HTML 3.2 code is generated. At this time, interaction with the server is required to handle user operations on the browser client. Note: The developer of this page's code does not need to care during the writing process. Whether the client's browser is high-level or low-level. The calendar control itself will handle the differences between the two browsers. In the next lecture, we will enter the chapter of asp+ operating database. Please pay attention to our site updates at any time!