ASP. NET authentication and Application

Source: Internet
Author: User
The control on the window is determined in the same way, and it can be used to specify other attention values, for example, the list is formatted and formatted. However, such a rule can only be applied to one customer. How can we apply the defined content to multiple windows? themes is a great choice.
The main topic is a series of predefined features, patterns, and images. You can choose to apply them to controls on a specific website, you can also choose to apply it globally across all the networks on the entire website.

This topic consists of a series of external files. These files are stored in a subfile in the app_themes file on the website. The "external file" (skin file) is a text file with the. Skin extension name.

Definition subject:
In "Solution Explorer", right-click the project file, select "add ASP. NET file", and then select "main topic ". A file named app_themes will be added later.

Right-click the scripts in the app_themes file and select "Add new scripts ". In the "Add new hosts" dialog box, select "external hosts file ". Upload a file named. Skin. Add the control style to the delegate role. For example, the following statements define the textbox and label controls.

<Asp: textbox backcolor = "red" froecolor = "white" font-bold = "true" runat = "server"/>
<Asp: Label backcolor = "white" forecolor = "red" runat = "server" font-bold = "true"/>

create a web configuration file and apply it to the main topic
in "Solution Explorer", right-click the project file, select "Add new region ". In the "Add new role" dialog box, select "Web configuration file". After adding the file, A. config extension file will appear. Add the
main topic file category to the app_themes File Created by zookeeper. In this way, the main topic is applied.

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.