System.Web.Helpers
Displays data as a chart image.
Initializes a new instance of the class.
The width, in pixels, of the complete chart image.
The height, in pixels, of the complete chart image.
(Optional) The template (theme) to apply to the chart.
(Optional) The template (theme) path and file name to apply to the chart.
Adds a legend to the chart.
The chart.
The text of the legend title.
The unique name of the legend.
Provides data points and series attributes for the chart.
The chart.
The unique name of the series.
The chart type of a series.
The name of the chart area used to plot the data series.
The axis label text for the series.
The name of the series associated with the legend.
A value that determines the granularity to display data point markers.
The values to plot along the X-axis.
The name of the field for X-values.
The values to plot along the Y-axis.
A comma-separated list of name or names of the field or fields for Y-values.
Adds a title to the chart.
The chart.
The title text.
The unique name of the title.
Databinds a chart to a data table, with one series created per unique value in a column.
The chart.
The chart data source.
The name of the column used to group data into the series.
The name of the column for X-values.
A comma-separated list of names of the columns for Y-values.
Other data point properties that can be bound.
The order in which the series will be sorted. The default is "Ascending".
Creates and binds series data to the specified data table, and optionally populates multiple Y-values.
The chart.
The chart data source.
The name of the table column used for the series X-values.
Gets or sets the name of the file that contains the chart image.
The name of the file.
Returns a chart image as a byte array.
The chart.
The image format. The default is "jpeg".
Retrieves the specified chart from cache.
The chart.
The identifier of the cache item that contains the chart to retrieve. The key is set when you call the method.
Gets or sets the height of the chart image.
The chart height.
Saves a chart image to the specified path and file name.
The chart.
The location and name of the image file.
The image file format.
Saves a chart in the system cache.
Returns .
The identifier for the chart in the cache.
The number of minutes to keep the chart image in the cache. The default is 20.
true to indicate that the chart cache item's expiration is reset each time the item is accessed, or false to indicate that the expiration is based on an absolute interval since the time that the item was added to the cache.
Saves a chart as an XML file.
The chart.
The path and filename to save the XML file to.
Sets values for the horizontal axis.
The chart.
The title of the horizontal axis.
The minimum value for the horizontal axis.
The maximum value for the horizontal axis.
Sets values for the vertical axis.
The chart.
The title of the vertical axis.
The minimum value for the vertical axis.
The maximum value for the vertical axis.
Creates a object based on the current object.
The chart.
The format of the image to save the object as. The default is jpeg.
Gets or set the width of the chart image.
The chart width.
Renders the output of the object as an image.
The chart.
The format of the image. The default is "jpeg".
Renders the output of a object that has been cached as an image.
The chart.
The identifier for the chart in the cache.
The format of the image. The default is "jpeg".
Provides methods to encrypt passwords or other sensitive data.
Returns a hash value for the specified byte array.
The hash value for .
The data to provide a hash value for.
The algorithm used to generate the hash value. The default is "sha256".
Returns a hash value for the specified string.
The hash value for .
The data to provide a hash value for.
The algorithm used to generate the hash value. The default is "sha256".
Returns a hash value for the specified password.
The hash value for .
The password to generate a hash value for.
Provides methods for working with data in JavaScript Object Notation (JSON) format.
Converts data in JavaScript Object Notation (JSON) format into the specified strongly typed data list.
The JSON-encoded data converted to a strongly typed list.
The JSON-encoded string to convert.
The type of the strongly typed list to convert JSON data into.
Converts data in JavaScript Object Notation (JSON) format into a data object.
The JSON-encoded data converted to a data object.
The JSON-encoded string to convert.
Converts data in JavaScript Object Notation (JSON) format into a data object of a specified type.
The JSON-encoded data converted to the specified type.
The JSON-encoded string to convert.
The type that the data should be converted to.
Converts a data object to a string that is in the JavaScript Object Notation (JSON) format.
Returns a string of data converted to the JSON format.
The data object to convert.
Converts a data object to a string in JavaScript Object Notation (JSON) format and adds the string to the specified object.
The data object to convert.
The object that contains the converted JSON data.
Renders the property names and values of the specified object and any subobjects that it references.
Renders the property names and values of the specified object and any subobjects that it references.
For a simple variable, returns the type and the value. For an object that contains multiple items, returns the property name or key, and the value for each property.
The object to render information for.
Optional. Specifies the depth of nested subobjects to render information for. The default is 10.
Optional. Specifies the maximum number of characters that the method displays for object values. The default is 1000.
is less than zero.
is less than or equal to zero.
Displays information about the Web server environment that hosts the current Web page.
Displays information about the Web server environment.
A string of name-value pairs that contains information about the Web server.
Specifies the direction in which to sort a list of items.
Sort from smallest to largest. For example, from A to Z.
Sort from largest to smallest. For example, from Z to A.
Provides a cache to store frequently accessed data.
Retrieves the specified item from the object.
The item retrieved from the cache, or null if the item is not found.
The identifier for the cache item to retrieve.
Removes the specified item from the object.
The item removed from the object. If the item is not found, returns null.
The identifier for the cache item to remove.
Inserts an item into the object.
The identifier for the cache item.
The data to insert into the cache.
Optional. The number of minutes to keep an item in the cache. The default is 20.
Optional. true to indicate that the cache item expiration is reset each time the item is accessed, or false to indicate that the expiration is based on an absolute interval since the time that the item was added to the cache. The default is true, which means that, if you also use the default value for the parameter, a cached item expires 20 minutes after it was last accessed.
The value of is less than or equal to zero.
Sliding expiration is enabled and the value of is greater than a year.
Displays data using an HTML table.
Initializes a new instance of the class.
The data to display.
A collection of data source column names. By default, this value is auto-populated.
The column name that is used to sort the table by default.
The number of rows that are displayed when paging is displayed. The default is 10.
true to specify that the object can display paging; otherwise false. The default is true.
true to specify that the object can sort based on column; otherwise, false. The default is true.
The ID of the HTML element in the instance that is used for Ajax support in order in order to make partial page updates.
The JavaScript function to call after the HTML element specified by the property has been updated.
The prefix for query-string fields. This value is used in order to support multiple T:System.Web.Helpers.WebGrid objects on the same page.
The query-string field name for the page number.
The query-string field name for the selected row number.
The query-string field name for the sort column.
The query-string field name for the sort direction.
Gets the name of the JavaScript function to call after the HTML element specified by the property has been updated.
The element name.
Gets the ID of the HTML element in the object that is used for Ajax support in order to make partial-page updates.
The element ID.
Binds the specified data to the object.
The populated object.
The data to display.
The names of the columns to bind.
true to enable sorting and paging; otherwise, false.
The number of rows to display for each page of data.
Adds a column object to the object.
A column object.
The name of the column.
The header of the column.
A string that specifies the formatting of the column.
A string that specifies the style of the column.
true if the column can be sorted; otherwise, false. The default is true.
Gets a collection of column names from the data source.
The collection of column names.
Adds a collection of column objects to the object.
A set of columns.
The columns to add.
Gets the prefix for query-string fields of a page.
The prefix for query-string fields.
Converts a URL into a jQuery Ajax call.
A script used as a jQuery Ajax call.
The URL to convert.
Returns HTML that is used to render the instance.
The HTML that represents the populated object.
The CSS class to use to style the table.
The CSS class to use to style the header row of the table.
The CSS class to use to style the footer row of the table.
The CSS class to use to style each row of the table.
The CSS class to use to style the even rows of the table.
The CSS class to use to style the selected rows of the table.
The caption for the table.
true to specify that the header of the table is displayed; otherwise, false. The default is true.
true to specify that the table can add empty rows to ensure the row count is maintained; otherise, false. The default is false.
The text that is used to populate empty rows. The parameter must be set to true to display this value.
The column model for customizing column rendering.
The columns to exclude when auto-populating columns.
A value specifying the mode for rendering paging support.
The text for the link to the first page.
The text for the link to the previous page.
The text for the link to the next page.
The text for the link to the last page.
The number of numeric links to display.
An object that contains the HTML attributes to set for the element.
Returns the URL of the page that the object will display based on the specified page index.
The URL of the page that the object will display.
The index of the page to display.
Returns a URL used to display the sorted data in the object based on a column name.
The url used to display the sorted data.
The name of the column to sort the grid by.
Gets a value that determines whether any row in the object has been selected.
true if a row has been selected; otherwise, false.
Gets the number of pages that the object has available to display.
The page count.
Gets the query string field name for the page number of the WebGrid.
The column name.
Gets or sets the index of the current page to display.
The current page index.
Returns the HTML that is required to provide paging support.
A value that specifies paging support.
The text for the link to the first page.
The text for the link to the previous page.
The text for the link to the next page.
The test for the link to the last page.
The number of numeric links to display.
Gets a list of rows that are in the object.
The collection of rows.
Gets the number of rows to display on each page.
The row count for a page.
Gets or sets the index of the selected row.
The row index.
Gets the selected row of the object.
The selected row.
Gets the query string field name for the selected row number of the WebGrid.
The name of the selected column.
Gets or sets the name of the column that is used to sort the object.
The name of the sort column.
Gets or sets the direction that the object is sorted.
The sort direction.
Gets the query string field name for the sort direction of the WebGrid.
The column prefix and name.
Gets the query string field name for the sort column of the WebGrid.
The sort column name.
Returns the HTML that is used to render the instance that supports paging.
The HTML that represents the populated object.
The CSS class to use to style the table.
The CSS class to use to style the header row.
The CSS class to use to style the footer row.
The CSS class to use to style odd rows.
The CSS class to use to style even rows.
The CSS class used to use to style the selected row.
The caption for the table.
true to specify that the header of the table is displayed; otherwise, false. The default is true.
true to specify that the table can add empty rows to ensure the row count is maintained; otherise, false. The default is false.
The text that is used to populate empty rows. The parameter must be set to true to display this value.
The column model that is used to customize column rendering.
The columns to exclude when auto-populating columns.
The table footer template.
An object that contains the HTML attributes to set for the element.
Gets the total row count for the object.
The row count.
Represents an object that lets you display and manage images in in a Web page.
Initializes a new instance of the class using a byte array to represent the image.
The image.
Initializes a new instance of the class using a stream to represent the image.
The image.
Initializes a new instance of the class using a path to represent the image location.
The path of the file that contains the image.
Adds a watermark image to the image using the specified image file.
The image.
The path of a file that contains the image.
The width, in pixels, of the watermark image.
The height, in pixels, of the watermark image.
The horizontal alignment for watermark image. Values can be left, right, or center.
The vertical alignment for the watermark image. Values can be top, bottom, or middle.
The opacity for the watermark image, specified as a value between 0 and 100.
The size, in pixels, of the padding around the watermark image.
Adds a watermark image to the image using the specified object.
The image.
A object.
The width, in pixels, of the watermark image.
The height, in pixels, of the watermark image.
The horizontal alignment for watermark image. Values can be left, right, or center.
The vertical alignment for the watermark image. Values can be top, bottom, or middle.
The opacity for the watermark image specifies as a value between 0 and 100.
The size, in pixels, of the padding around the watermark image.
Adds watermark text to the image.
The image.
The text to use as a watermark.
The color of the watermark text.
The font size of the watermark text.
The font style of the watermark text.
The font type of the watermark text.
The horizontal alignment for watermark text. Values can be left, right, or center.
The vertical alignment for the watermark text. Values can be top, bottom, or middle.
The text opacity for the watermark text specified as a value between 0 and 100.
The size, in pixels, of the padding around the watermark text.
Copies the object.
The image.
Crops an image.
The cropped image.
The number of pixels to remove from the top.
The number of pixels to remove from the left.
The number of pixels to remove from the bottom.
The number of pixels to remove from the right.
Gets or sets the name of the file used by the object.
The file name
Flips an image horizontally.
The flipped image.
Flips an image vertically.
The flipped image.
Returns the image as a byte array.
The image.
The of the object.
Returns an image that has been uploaded using the browser.
The image.
(Optional) The name of the file that has been posted.
Gets the height, in pixels, of the image.
The height.
Gets the format of the image (for example, JPEG or PNG).
The format.
Resizes an image.
The resized image.
The width, in pixels, of the object.
The height, in pixels, of the object.
true to preserve the aspect ratio of the image; otherwise, false.
true to prevent the enlargement of the image; otherwise, false.
Rotates an image to the left.
The rotated image.
Rotates an image to the right.
The rotated image.
Saves the image using the specified file name.
The image.
The path to save the image to.
The format used when saving the image file.
true to force that the correct file extension is used for the format specified in ; otherwise, false.
Gets the width, in pixels, of the image.
The width.
Renders an image to the browser to be displayed.
The image.
(Optional) The file format.
Provides a way to construct and send an email message using Simple Mail Transfer Protocol (SMTP).
Gets or sets whether Secure Sockets Layer (SSL) is used to encrypt the connection when sending email.
true if SSL is used to encrypt the connection; otherwise, false.
Gets or sets the email address of the sender.
The email address of the sender.
Gets or sets the sender’s password based on the email account used.
The password of the sender.
Sends the specified message to an SMTP server for delivery.
The recipients of this email message. Multiple recipients can be specified by separating them using a semicolon (;).
The subject line for the email message.
The body of the email message. If is true, HTML in the body is interpreted as markup.
The email address of the message sender.
The carbon copy (CC) recipients for the email message, if any.
A collection of file names that specifies the files to attach to the email message.
true to specify that the email message body is in HTML format; false to indicate that the body is in plain-text format.
A collection of headers that are sent with this email message.
Gets or sets the port used for SMTP transactions.
The port used for SMTP transactions.
Gets or sets the SMTP server used to transmit the email message.
The SMTP server.
Gets or sets a value that indicates whether the default credentials are sent with the requests.
true if credentials are sent with the email message; otherwise, false.
Gets or sets the name of email account name used to send email.
The name of the user.