ASP. NET mischellous

Source: Internet
Author: User

@ Register: register a user control or class with alias to this page.
@ Import: import a namespace.
@ Reference: link user controls or other page to complile current page.

Supports cross-page data transfer
Page events: preinit, init, initcomplete, preload, load, loadcomplete, prerender, prerendercomplete, databinding, disposed, error, aborttransaction, unload
Page or code compilation provider, Configuration: ... , Category: buildprovider/usercontrolbuildprovider/masterpagebuildprovider/webservicebuildprovider/users/resxbuilderprovider/resourcebuildprovider/users, custom buildprovider: extends the buildprovider class and adds this class to buildproviders Configuration

Server controls include HTML server controls and web server controls.
Register javascript: page. clientscript. registerclientscriptblock, page. clientscript. registerstartupscript, page. clientscript. registerclientscriptinclude

Page implementation that supports callback: icallbackeventhandler
Textbox controls support different autocompletetype
Common server controls: Label, literal, Textbox, button, linkbutton, imagebutton hyperlink, dropdownlist, ListBox, checkbox, checkboxlist, radiobutton, radiobuttonlist, image, table, calendar, adrotator, XML, panel, placehold, bulletedlist, hiddenfield, fileupload, multiview, view, wizard, Imagemap, Treeview, menu...
The literal control does not output span, but the label control outputs
The HTML rendered on the server page contains three important hidden fields: _ viewstate, _ eventvalidation ,__ eventtarget.
Fileupload is supported. enctype = "multipart/form-Data" of form must be set"
Common verification server controls: requiredfieldvalidator, comparevalidator, rangevalidator, regularexpressionvalidator, customvalidator, validaionsummary.
Supports server and client authentication. Client verification is required by default. enableclientscript = false can be set to disable Client verification.
Programmatically assign the master page to the content page, protected void page_preinit (Object sender, eventargs e) {page. masterpagefile = "...".}

Common data server controls: sqldatasource, accessdatasource, LINQ data source control, accessdatasource, xmldatasource, objectdatasource, sitemapdatasource, gridview, detailsview, listview, formview, Treeview

Expression builder, resource:, you can build your own expression Builder by inheriting the expressionbuilder and add the configuration ...

Data Binding syntax, and bidirectional binding:, XPath Data Binding: and

Common providers: membership, role, personalization, sitemap, sessionstate, webevent, webparts
Implement providerbase/membershipprovdier... Build a custom Provider Program
Sqlmembershipprovider, Configuration
Sqlroleprovider
Sitemapprovider
You can use Treeview/menu/sitemappath and sitemapdatasource to implement site navigation.
Localized sitemap, create a resx file, and add the resource attribute for sitemapnode

Web personalization includes widget personalization and general personalization
Add simple personalized attributes
Supports the anonymous identity of end users Will store a cookie on the terminal
Migrate anonymous user event page_migrateanonymous
Whether to automatically store the profile value, Personalized provider

...
Roleprovider configuration,
Role management authorization page Access Permissions

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.