This section introduces some other
ASP.NET WebPages helper.
ASP.NET Helpers - Object Reference Manual
Analytics Object Reference Manual (Google)
Helper | describe |
---|
Analytics.GetGoogleHtml( webPropertyId ) | Renders the Google Analytics JavaScript code for the specified ID. |
Analytics.GetStatCounterHtml( project , security ) | Renders the StatCounter Analytics JavaScript code for the specified project. |
Analytics.GetYahooHtml( account ) | Renders the Yahoo Analytics JavaScript code for the specified account. |
Bing Object Reference Manual
Helper | describe |
---|
Bing.SearchBox( [boxWidth] ) | Pass searches to Bing. You can set the Bing.SiteUrl and Bing.SiteTitle properties to set the title of the site search and search box. You usually set these properties on the _AppStart page. |
Bing.AdvancedSearchBox( [, boxWidth] [, resultWidth] [, resultHeight] [, themeColor] [, locale] ) | Display Bing search results on the page in optional formats. You can set the Bing.SiteUrl and Bing.SiteTitle properties to set the title of the site search and search box. You usually set these properties on the _AppStart page. |
Chart Object Reference Manual
Helper | describe |
---|
|
Chart( width , height [, template] [, templatePath] ) | Initialize the chart. |
Chart.AddLegend( [title] [, name] ) | Add a legend to the chart. |
Chart.AddSeries( [name] [, chartType] [, chartArea] [, axisLabel] [, legend] [, markerStep] [, xValue] [, xField] [, yValues] [, yFields] [, options]) | Add a range of data to the chart. |
Crypto Object Reference Manual
Helper | describe |
---|
Crypto.Hash( string [, algorithm] ) Crypto.Hash( bytes [, algorithm] ) | Returns the hash of the specified data. The default algorithm is sha256. |
Facebook Object Reference Manual
Helper | describe |
---|
Facebook.LikeButton( href [, buttonLayout] [, showFaces] [, width] [, height] [, action] [, font] [, colorScheme] [, refLabel] ) | Let Facebook users connect to web pages. |
FileUpload Object Reference Manual
Helper | describe |
---|
FileUpload.GetHtml( [initialNumberOfFiles] [ , allowMoreFilesToBeAdded] [ , includeFormTag] [, addText] [ , uploadText] ) | Presents UI for uploading files. |
GamerCard Object Reference Manual
Helper | describe |
---|
GamerCard.GetHtml( gamerTag ) | Renders the specified Xbox gamer tag. |
Gravatar Object Reference Manual
Helper | describe |
---|
Gravatar.GetHtml( email [, imageSize] [, defaultImage] [, rating] [, imageExtension] [, attributes] ) | Renders a Gravatar image for the specified email address. |
Json Object Reference Manual
Helper | describe |
---|
Json.Encode( object ) | Convert data objects to strings using JavaScript Object Notation (JSON). |
Json.Decode( string ) | Converts a JSON-encoded input string into the data object you specify. |
LinkShare Object Reference Manual
Helper | describe |
---|
LinkShare.GetHtml( pageTitle [, pageLinkBack] [, twitterUserName] [, additionalTweetText] [, linkSites] ) | Renders social network links using the specified title and optional URL. |
ModelState Object Reference Manual
Helper | describe |
---|
ModelStateDictionary.AddError( key , errorMessage ) | Associate the error message with a form field. Use the ModelState helper to access members. |
ModelStateDictionary.AddFormError( errorMessage ) | Associate error messages with a form. Use the ModelState helper to access members. |
ModelStateDictionary.IsValid | Returns true if there are no validation errors. Use the ModelState helper to access members. |
ObjectInfo Object Reference Manual
Helper | describe |
---|
ObjectInfo.Print( value [, depth] [, enumerationLength] ) | Renders the properties and values of an object and all sub-objects. |
Recaptcha Object Reference Manual
Helper | describe |
---|
Recaptcha.GetHtml( [, publicKey] [, theme] [, language] [, tabIndex] ) | Presenting reCAPTCHA verification test. |
ReCaptcha.PublicKey ReCaptcha.PrivateKey | Set the public and private keys for the reCAPTCHA service. These properties are usually set on the _AppStart page. |
ReCaptcha.Validate( [, privateKey] ) | Returns reCAPTCHA test results. |
ServerInfo.GetHtml() | Renders renders state information about ASP.NET Web Pages. |
Twitter Object Reference Manual
Helper | describe |
---|
Twitter.Profile( twitterUserName ) | Renders a Twitter stream to the specified user. |
Twitter.Search( searchQuery ) | Renders a Twitter stream for the specified search text. |
Video Object Reference Manual
Helper | describe |
---|
Video.Flash( filename [, width, height] ) | Renders a Flash video player with selectable width and height for the specified file. |
Video.MediaPlayer( filename [, width, height] ) | Renders a Windows Media Player with optional width and height for the specified file. |
Video.Silverlight( filename , width , height ) | Renders a Silverlight player of the desired width and height for the specified .xap file. |
WebCache Object Reference Manual
Helper | describe |
---|
WebCache.Get( key ) | Returns the specified object by key , or null if the object is not found. |
WebCache.Remove( key ) | Delete the specified object from the cache by key . |
WebCache.Set( key , value [, minutesToCache] [, slidingExpiration] ) | Place the value by key into the cache with the specified name. |
WebGrid Object Reference Manual
Helper | describe |
---|
WebGrid( data ) | Creates a Creates a new WebGrid object using the query data. |
WebGrid.GetHtml() | Renders markup displays data in an HTML table. |
WebGrid.Pager() | Renders a page to the WebGrid object. |
WebImage Object Reference Manual
Helper | describe |
---|
WebImage( path ) | Loads an image from the specified path. |
WebImage.AddImagesWatermark( image ) | Add watermark to the specified image. |
WebImage.AddTextWatermark( text ) | Adds specified text to the image. |
WebImage.FlipHorizontal() WebImage.FlipVertical() | Flip image horizontally/vertically |
WebImage.GetImageFromRequest() | Load the image when it is sent to a file upload page. |
WebImage.Resize( width , height ) | Resize the image. |
WebImage.RotateLeft() WebImage.RotateRight() | Rotate the image left or right. |
WebImage.Save( path [, imageFormat] ) | Save the image to the specified path. |