Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

ASP.NET webPages helper reference manual


May 12, 2021 ASP.NET


Table of contents


ASP.NET Web Pages - More Helpers

This section describes some of the other ASP.NET webPages helper.

ASP.NET Helper - Object Reference Manual


Analytics Object Reference Manual (Google)

Helper describe
Analytics.GetGoogleHtml( webPropertyId ) Rendering Google Analytics JavaScript code for the specified ID.
Analytics.GetStatCounterHtml( project , security ) Rendering the Statcounter Analytics JavaScript code for the specified project.
Analytics.GetYahooHtml( account ) Rendering Yahoo Analytics JavaScript code for the specified account.


Bing object reference manual

Helper describe
Bing.SearchBox( [boxWidth] ) Pass the search for bing.You can set bing.siteURL and bing.siteTitle properties to set the title of site search and search box, usually _AppStart Page Set these properties.
Bing.AdvancedSearchBox( [, boxWidth] [, resultWidth] [, resultHeight]
[, themeColor] [, locale]
)
Display bing search results on the page with optional formats.You can set bing.siteURL and bing.siteTitle properties to set the title of site search and search box, usually _AppStart Page Set these properties.


Chart object reference manual

Helper describe
Chart( width , height [, template] [, templatePath] ) Initialization 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 series 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 the Facebook user connect to the web.


FileUpload object reference manual

Helper describe
FileUpload.GetHtml( [initialNumberOfFiles] [ , allowMoreFilesToBeAdded]
[
, includeFormTag] [, addText] [ , uploadText] )
Rendering a UI for the upload file.


GamerCard Object Reference Manual

Helper describe
GamerCard.GetHtml( gamerTag ) Render the designated Xbox Gamer tag.


Gravatar object reference manual

Helper describe
Gravatar.GetHtml( email [, imageSize] [, defaultImage] [, rating]
[, imageExtension] [, attributes]
)
Present a Gravatar image for the specified email address.


Json Object Reference Manual

Helper describe
Json.Encode( object ) Convert data objects to strings with JavaScript Object Notation (JSON).
Json.Decode( string ) Convert JSON encoded input string for the data object you specify.


LinkShare Object Reference Manual

Helper describe
LinkShare.GetHtml( pageTitle [, pageLinkBack] [, twitterUserName]
[, additionalTweetText] [, linkSites]
)
Rendering a social network link using the specified title and an optional URL.


ModelState object reference manual

Helper describe
ModelStateDictionary.AddError( key , errorMessage ) Associated error message and a form field.Use the ModelState Help to access members.
ModelStateDictionary.AddFormError( errorMessage ) Associate error messages and a form.Use the ModelState Help to access members.
ModelStateDictionary.IsValid Returns true if there is no verification error.Use the ModelState Help to access members.


ObjectInfo object reference manual

Helper describe
ObjectInfo.Print( value [, depth] [, enumerationLength] ) Render an object and value of all child objects.


Recaptcha Object Reference Manual

Helper describe
Recaptcha.GetHtml( [, publicKey] [, theme] [, language] [, tabIndex] ) Rendering RecAptcha verification test.
ReCaptcha.PublicKey
ReCaptcha.PrivateKey
Set the public and private keys for RecAptcha services.Usually _AppStart Page Set these properties.
ReCaptcha.Validate( [, privateKey] ) Returns the RecAptcha test results.
ServerInfo.GetHtml() Renders present status information about ASP.NET Web Pages.


Twitter object reference manual

Helper describe
Twitter.Profile( twitterUserName ) Rendering Twitter streams for the specified user.
Twitter.Search( searchQuery ) Rendering Twitter streams for the specified search text.


Video object reference manual

Helper describe
Video.Flash( filename [, width, height] ) Rendering width and highly optional flash video playback for the specified file.
Video.MediaPlayer( filename [, width, height] ) Rendering width and highly optional Windows Media player for the specified file.
Video.Silverlight( filename , width , height ) Specified .xap The file presents the desired width and height Silverlight player.


WebCache object reference manual

Helper describe
WebCache.Get( key ) pass through key Returns the specified object if the object is not found, returns NULL.
WebCache.Remove( key ) pass through key Remove the specified object from the cache.
WebCache.Set( key , value [, minutesToCache] [, slidingExpiration] ) pass through key Bundle value Place the cache to the specified name.


WebGrid Object Reference Manual

Helper describe
WebGrid( data ) Creates A Create a new WebGrid object using query data.
WebGrid.GetHtml() Renders Markup Displays data in the HTML form.
WebGrid.Pager() Present a page for the WebGrid object.


WebImage object reference manual

Helper describe
WebImage( path ) Load an image from the specified path.
WebImage.AddImagesWatermark( image ) Watermark for specifying an image.
WebImage.AddTextWatermark( text ) Add a specified text to the image.
WebImage.FlipHorizontal()
WebImage.FlipVertical()
Horizontal / vertical flip image
WebImage.GetImageFromRequest() When the image is transmitted to a file upload page, the image is loaded.
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.