ASP. NET Web Pages-more help tools and pages more help

Source: Internet
Author: User

ASP. NET Web Pages-more help tools and pages more help

ASP. NET Helpers-Object Reference Manual

Analytics Object Reference Manual (Google)

Analytics. GetGoogleHtml (webPropertyId)
Displays Google Analytics JavaScript code with the specified ID.
Analytics. GetStatCounterHtml (project, security)
Displays the StatCounter Analytics JavaScript code for the specified project.
Analytics. GetYahooHtml (account)
Displays the Yahoo Analytics JavaScript code of the specified account.

 

 

Bing Object Reference Manual
Bing. SearchBox ([boxWidth])
Send a search request to Bing. To specify the title of the site to be searched and the search box, you can set Bing. SiteUrl and Bing. SiteTitle attributes. These attributes are usually set on the _ AppStart page.
Bing. AdvancedSearchBox ([, boxWidth] [, resultWidth] [, resultHeight] [, themeColor] [, locale])
The Bing search results are displayed on the page in an optional format. To specify the title of the site to be searched and the search box, you can set Bing. SiteUrl and Bing. SiteTitle attributes. These attributes are usually set on the _ AppStart page.

 

Chart Object Reference Manual
Chart (width, height [, template] [, templatePath])
Initialize the chart.
Chart. AddLegend ([title] [, name])
Add a legend to the image.
Chart. addSeries ([name] [, chartType] [, chartArea] [, axisLabel] [, legend] [, markerStep] [, xValue] [, xField] [, yValues] [, yFields] [, options])
Provides data points and series features for charts.

 

Crypto Object Reference Manual
Crypto. Hash (string [, algorithm]) Crypto. Hash (bytes [, algorithm])
Returns the hash value of the specified data. The default algorithm is sha256.

 

Facebook Object Reference Manual
Facebook. LikeButton (href [, buttonLayout] [, showFaces] [, width] [, height] [, action] [, font] [, colorScheme] [, refLabel])
Enables Facebook users to generate connections to pages.

 

FileUpload Object Reference Manual
FileUpload. GetHtml ([initialNumberOfFiles] [, allowMoreFilesToBeAdded] [, includeFormTag] [, addText] [, uploadText])
The UI used by the program to upload files.

 

GamerCard Object Reference Manual
GamerCard. GetHtml (gamerTag)
Displays the specified Xbox player tag.

 

Gravatar Object Reference Manual
Gravatar. GetHtml (email [, imageSize] [, defaultImage] [, rating] [, imageExtension] [, attributes])
Displays the Gravatar image of the specified email address.

 

Json Object Reference Manual
Json. Encode (object)
Converts a data object to a string in JSON format.
Json. Decode (string)
Converts data in JSON format to a data object.

 

LinkShare Object Reference Manual
LinkShare. GetHtml (pageTitle [, pageLinkBack] [, twitterUserName] [, additionalTweetText] [, linkSites])
Use the specified title and optional URL to display social network connections.

 

ModelState Object Reference Manual
ModelStateDictionary. AddError (key, errorMessage)
Add the error message to the model State associated with the specified key.
ModelStateDictionary. AddFormError (errorMessage)
Add the error message to the model State associated with the entire form.
ModelStateDictionary. IsValid
Determine whether any error messages are associated with the specified key.

 

ObjectInfo Object Reference Manual
ObjectInfo. Print (value [, depth] [, enumerationLength])
Displays the attribute names and values of a specified object and any sub-objects.

 

Recaptcha Object Reference Manual
Recaptcha. GetHtml ([, publicKey] [, theme] [, language] [, tabIndex])
The reCAPTCHA verification test is displayed.
ReCaptcha. PublicKey
ReCaptcha. PrivateKey
Set the public and private keys of the reCAPTCHA service. These attributes are usually set on the _ AppStart page.
ReCaptcha. Validate ([, privateKey])
Returns the reCAPTCHA test result.
ServerInfo. GetHtml ()
Displays the status information of ASP. NET Web Pages.

 

Twitter Object Reference Manual
Twitter. Profile (twitterUserName)
Displays the Twitter stream of a specified user.
Twitter. Search (searchQuery)
Displays the Twitter stream of the specified search text.

 

Video Object Reference Manual
Video. Flash (filename [, width, height])
Displays the Flash video player for a specified file (optional width and height.
Video. MediaPlayer (filename [, width, height])
Presents a Windows Media Player for a specified file (optional width and height.
Video. Silverlight (filename, width, height)
Renders the Silverlight player for the specified. xap file (required width and height.

 

 

WebCache Object Reference Manual
WebCache. Get (key)
Retrieves a specified item from a WebCache object.
WebCache. Remove (key)
Deletes a specified item from a WebCache object.
WebCache. Set (key, value [, minutesToCache] [, slidingExpiration])
Insert an item to a WebCache object.

 

WebGrid Object Reference Manual
WebGrid (data)
Initialize a new instance of the WebGrid class.
WebGrid. GetHtml ()
Returns the HTML tag used to render the WebGrid instance and use the specified paging option.
WebGrid. Pager ()
Returns the HTML Tag that is supported by a specified page for a WebGrid instance.

 

WebImage Object Reference Manual
WebImage (path)
Load the image of the specified path.
WebImage. AddImagesWatermark (image)
Add the watermark image to the WebImage object.
WebImage. AddTextWatermark (text)
Add watermark text to the image.
WebImage. FlipHorizontal ()
WebImage. FlipVertical ()
Flip the image horizontally or vertically.
WebImage. GetImageFromRequest ()
Returns an image uploaded using a browser.
WebImage. Resize (width, height)
Adjust the image size.
WebImage. RotateLeft ()
WebImage. RotateRight ()
Rotate the image to the left or right.
WebImage. Save (path [, imageFormat])
Save the image to the specified path.


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.