About the style of AjaxControlToolkit

Source: Internet
Author: User

The technical articles of the tutorial (www.bkjia.com) have always been reproduced and have never been created by others. finally, I met AjaxControlToolkit and read a lot of articles. The project was so tight that I had to spend half a day studying it...

First, let's look at the structure of Ajax TabContainer:

Reference content is as follows:
<Div class = "ajax _ tab_xp ajax _ tab_container ajax _ tab_default">
<Div class = "ajax _ tab_header" id = "XXX">
<Span class = "ajax _ tab_active" id = "XXX">
<Span class = "ajax _ tab_outer">
<Span class = "ajax _ tab_inner">
<Span class = "ajax _ tab_tab" idXXX "> comprehensive news </span>
</Span>
</Span>
</Span>
</Div>
</Div>


This is the structure in html.

In fact, the principle is very simple. You can write a style based on each class. There are many examples on the Internet that will not be written. but it is very important that the first <div class = "ajax _ tab_xp"> here, "ajax _ tab_xp" must be renamed, otherwise the system will not load custom styles. the reason is unknown. Set CssClass = "Temp _ tab_xp" in the properties of the TabContainer control. The custom style is displayed.

  

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.