"Asp. Net 2.0 secrets" Reading Notes (2)

Source: Internet
Author: User

* AssociatedControlID: Make the label appear in the city HTML <label> label instead of <span>

* Mode: Controls like literal controls all have the Mode attribute. Mode has three options: passThrough (without any operation) and Encode (encoding the original string), Transfrom (remove tags not recognized by the target server)

* MaxLength: perspiration. This attribute is invalid when textmode is set to multiple rows.

* AutoComplete: The automatically completed drop-down list that appears frequently. If this function is enabled for the browser, it will be available. Unfortunately, it is not supported by other functions except IE.

* AcessKey: Forgot again, that is, the shortcut key. Alt + Key

* PostBackUrl: Specifies the URl of the return page, which is determined by PreviousPage on the return page. <% @ PreviousPageType VirtualPath = "~ /PostBackDemo/ResponseUrl. aspx "%>, which can be replaced by findcontrol. Each has its own advantages.

* LinkButton: the javascript method is called in the href attribute of the tag;

* AlternateText: displayed in imgbt when the browser only displays text;

* Onmouseover \ OnMouseout: two extended attributes. JavaScript code such as "this. value = [value]" can be executed.

* String reverse order: I have never thought this way before. Haha (string. compare (x, y) *-1 );

* GenerateEmtpyAlternateText: the img label with this attribute "true" is omitted by the reader, that is, alt = "".

* Panel: good stuff. You can set the default buttons in the area and other attributes. groupingText is a box with words. It is very good, but it should be very vivid.

* Auto and Both: browsers except IE are not applicable in the scroll bar.

* Get all the root directory files of the current web: string [] files = Directiory. GetFiles (MapPath (Request. ApplicationPath), "*. aspx ")

* Open a new window: target = "_ blank"

Chapter 2 Conclusion Page 80

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.