ASP.NET Web Pages - More Helpers
ASP.NET Helpers - Object Reference Manual
Analytics Object Reference Manual (Google)
- Analytics.GetGoogleHtml(webPropertyId)
- Present the Google Analytics JavaScript code for the specified ID.
- Analytics.GetStatCounterHtml(project, security)
- Present the StatCounter Analytics JavaScript code for the specified project.
- Analytics.GetYahooHtml(account)
- Present the Yahoo Analytics JavaScript code for the specified account.
Bing Object Reference Manual
- Bing.SearchBox([boxWidth])
- Pass the search to Bing. If you need to specify the search site and the title of the search box, you can set the Bing.SiteUrl and Bing.SiteTitle properties. These properties are usually set in the _AppStart page.
- Bing.AdvancedSearchBox([, boxWidth], [, resultWidth], [, resultHeight])
[, themeColor], [, locale])
- Display Bing search results in an optional format on the page. If you need to specify the search site and the title of the search box, you can set the Bing.SiteUrl and Bing.SiteTitle properties. These properties are usually set in the _AppStart page.
Chart Object Reference Manual
- Chart(width, height [, template] [, templatePath])
- Initialize the chart.
- Chart.AddLegend([title], [, name])
- Add legend to the image.
- Chart.AddSeries([name], [, chartType], [, chartArea], [, axisLabel], [, legend], [, markerStep], [, xValue], [, xField], [, yValues], [, yFields], [, options])
- Provide data points and series characteristics for the chart.
Crypto Object Reference Manual
- Crypto.Hash(string [, algorithm]) Crypto.Hash(bytes [, algorithm])
- Return the hash value of specified data. The default algorithm is sha256.
Facebook Object Reference Manual
- Facebook.LikeButton(href [, buttonLayout] [, showFaces] [, width] [, height] [, action] [, font] [, colorScheme] [, refLabel])
- Generate a connection to the page for Facebook users.
FileUpload Object Reference Manual
- FileUpload.GetHtml([initialNumberOfFiles] [, allowMoreFilesToBeAdded] [, includeFormTag] [, addText] [, uploadText])
- UI for uploading files.
GamerCard Object Reference Manual
- GamerCard.GetHtml(gamerTag)
- Present the specified Xbox gamer tag.
Gravatar Object Reference Manual
- Gravatar.GetHtml(email [, imageSize] [, defaultImage] [, rating] [, imageExtension] [, attributes])
- Present the Gravatar image for a specified email address.
Json Object Reference Manual
- Json.Encode(object)
- Convert a data object to a string in JavaScript Object Notation (JSON) format.
- Json.Decode(string)
- Convert data in JavaScript Object Notation (JSON) format to a data object.
LinkShare Object Reference Manual
- LinkShare.GetHtml(pageTitle [, pageLinkBack] [, twitterUserName] [, additionalTweetText] [, linkSites])
- Present social network connections using a specified title and an optional URL.
ModelState Object Reference Manual
- ModelStateDictionary.AddError(key, errorMessage)
- Add error messages to the model state associated with the specified key.
- ModelStateDictionary.AddFormError(errorMessage)
- Add error messages to the model state associated with the entire form.
- ModelStateDictionary.IsValid
- Determine if there are any error messages associated with the specified key.
ObjectInfo Object Reference Manual
- ObjectInfo.Print(value [, depth] [, enumerationLength])
- Present the property names and values of the specified object and any child objects.
Recaptcha Object Reference Manual
- Recaptcha.GetHtml([, publicKey] [, theme] [, language] [, tabIndex])
- Present the 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])
- Return the result of the reCAPTCHA test.
- ServerInfo.GetHtml()
- Present the status information of ASP.NET Web Pages.
Twitter Object Reference Manual
- Twitter.Profile(twitterUserName)
- Present the Twitter stream for the specified user.
- Twitter.Search(searchQuery)
- Present the Twitter stream for the specified search text.
Video Object Reference Manual
- Video.Flash(filename [, width, height])
- Present the Flash video player for the specified file (optional width and height).
- Video.MediaPlayer(filename [, width, height])
- Present the Windows Media player for the specified file (optional width and height).
- Video.Silverlight(filename, width, height)
- Present the Silverlight player for the specified .xap file (required width and height).
WebCache Object Reference Manual
- WebCache.Get(key)
- Retrieve the specified item from the WebCache object.
- WebCache.Remove(key)
- Delete the specified item from the WebCache object.
- WebCache.Set(key, value [, minutesToCache] [, slidingExpiration])
- Insert an item into the WebCache object.
WebGrid Object Reference Manual
- WebGrid(data)
- Initialize a new instance of the WebGrid class.
- WebGrid.GetHtml()
- Return the HTML tags used to render the WebGrid instance and use the specified pagination options.
- WebGrid.Pager()
- Return the HTML tags used to provide pagination support for the WebGrid instance.
WebImage Object Reference Manual
- WebImage(path)
- Load the image at the specified path.
- WebImage.AddImagesWatermark(image)
- Add 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()
- Return the image uploaded using the browser.
- WebImage.Resize(width, height)
- Adjust the size of the image.
- WebImage.RotateLeft()
WebImage.RotateRight()
- Rotate the image to the left or right.
- WebImage.Save(path [, imageFormat])
- Save the image to the specified path.