MSharp.Framework
Provides a DataProvider for accessing data from the database using ADO.NET based on the OleDb provider.
Provides a DataProvider for accessing data from the database using ADO.NET based on the ODBC provider.
Gets the IP address of the current user.
Defines an admin user who can impersonate other users.
A unique single-use-only cookie-based token to specify the currently impersonated user session.
Determines if this user can impersonate the specified other user.
Provides the business logic for ImpersonationContext class.
Provides the current user.
Determines if the current user is impersonated.
Impersonates the specified user by the current admin user.
If not specified, the current HTTP request's URL will be used.
Ends the current impersonation session.
Gets the original user who impersonated the current user.
Sets the default policy for all IP addresses.
Sets the policy for specific IP addresses. These will override the global, region and country policies.
Sets the IP Filter policy. All Disallow policies should be set first, then all Allow policies.
Sets the IP Filter policy. All Disallow policies should be set first, then all Allow policies.
If the IP address of the current user is in a blocked list, then it will terminate the request with a response saying:
This website is not available in your region.
Creates a new Compiler instance.
Creates a new DynamicExpressionsCompiler instance.
Creates a new DynamicExpressionsCompiler instance.
Creates a new RssChannel instance.
Generates Rss Xml document for the specified items.
Dispatches an Xml document in the current http response.
Gets the list of current snapshots on disk.
Creates a suitable string for urls.
Gets the Currently requested resource.
Gets the Currently requested resource.
Determines if this web resource's Url matches a given path.
Provides easy access to HTTP cookie data.
Gets the value of the property sent from the client browser as a cookie.
Gets the value of a string property sent from the client browser as a cookie.
Gets the value of the property sent from the client browser as a cookie.
Gets the value of the property sent from the client browser as a cookie.
Gets the value of the property sent from the client browser as a cookie.
Sets a specified value in the response cookie as well as request cookie.
Specifies whether the cookie should be accessible via Javascript too, or Server (http) only.
Sets a specified value in the response cookie as well as request cookie.
Specifies whether the cookie should be accessible via Javascript too, or Server (http) only.
Sets a specified list in the response cookie as well as request cookie.
Specifies whether the cookie should be accessible via Javascript too, or Server (http) only.
Sets a specified list in the response cookie as well as request cookie.
Gets a specified list in the response cookie as well as request cookie.
Removes the specified cookie property.
Removes the specified cookie property.
Removes the specified cookie property.
Sets a specified value in the response cookie as well as request cookie.
Specifies whether the cookie should be accessible via Javascript too, or Server (http) only.
Sets a specified value in the response cookie as well as request cookie.
Specifies whether the cookie should be accessible via Javascript too, or Server (http) only.
This class provides utilities to capture an image from a web url
Creates a new WebCapture instance.
Output format default: PNG
Gets or sets the MinWidth of this WebCapture.
Gets or sets the MinHeight of this WebCapture.
After successful load, wait X milliseconds (default: 0)
JavaScript execution (default: on)
Maximum time in millisecond that the process should take to capture the snapshot.
if ths time is passed the system would throw exception. DEFAULT: 20,000
Prepares arguments for capturing executable
Gets the byte array of an image captured from the given url
Gets the bitmap captured from the given url
To get the data you can call .ToBuffer(ImageFormat.Png).
Capturs from the given url and stores it in the gievn file path
Provides services to web request log objects.
Specifies a factory to instantiate WebRequestLog objects.
Records this web request log in the provided http context.
Gets the number of requests made in the same session.
Gest the last url visited in this session.
Gets the value of a query string key.
Gets the first request of every session that has had an activity during the last 10 minutes.
Creates a new AutoComplete instance.
Gets or sets the SelectedValueBox of this AutoComplete.
Gets or sets the AutoPostBack of this AutoComplete.
Gets or sets the OnSelectedValueChanged of this AutoComplete.
Gets or sets the OnCollapse of this AutoComplete.
Gets or sets the RequestDelay of this AutoComplete DEFAULT IS 300.
Gets or sets the ExpandOnFocus of this AutoComplete.
Gets or sets the OptimizedMode of this AutoComplete.
Gets or sets the SourceProvider of this AutoComplete.
Gets or sets the ClientSide of this AutoComplete.
Gets or sets the Items of this control.
Gets or sets the WatermarkText of this AutoComplete.
Gets or sets the NotFoundText of this AutoComplete.
Sets the selected item.
Gets or sets the Text of this AutoComplete.
Gets or sets the LoadingText of this AutoComplete.
Gets or sets the InnerTextBox of this AutoComplete.
Gets or sets the ItemsPanel of this AutoComplete.
Gets or sets the SelectedValue of this AutoComplete.
Disables auto complete behaviour and acts like a normal text box
Raises the event.
An object that contains the event data.
Sets input focus to a control.
Sets input focus to a control.
Gets or sets the PageCount of this AutoComplete.
Gets the callback result of the given items in autocomplete-feidnly json format.
items to be serialized
filter that is used to produce these items
Gets or sets the HideDelay of this MultiSelectList.
Gets or sets the PluralName of this MultiSelectList.
Gets or sets the InitialSearchText of this MultiSelectList.
Gets or sets the NotSetText of this MultiSelectList.
Creates a new MultiSelectList instance.
A control that displays an image, hover image and responds to mouse clicks on the image.
Creates a new NumericUpDown instance.
Gets or sets the PlusLink of this NumericUpDown.
Gets or sets the MinusLink of this NumericUpDown.
Gets or sets the PlusImageUrl of this NumericUpDown.
Gets or sets the MinusImageUrl of this NumericUpDown.
Gets or sets the Minimum of this NumericUpDown.
Gets or sets the Maximum of this NumericUpDown.
Gets or sets the StepSize of this NumericUpDown.
Called once, when the first ever request is being executed.
It's called after processing Web.Test.Commands.
Determines whether a notification for the specified error be emailed.
Retrieves the actual user implementation based on the basic ASP.NET principle info.
Loads the IUser object from the specified ASP.NET user principal.
Gets the filters added for search.
Represents the current datasource item in the list.
Gets the item on which the current command is executing.
Raises the event.
The instance containing the event data.
Gets the name of the Selected Columns cookie.
Gets the name of the sort expression cookie key.
Adds a filter to the search conditions.
Clears all filters from this list.
Gets or sets the current sort expression of this module.
Resets the sort expression to the specified value.
Gets the filter criteria of this list.
Gets the query options to use with the database query.
Gets the groups of the currently selected grouping expression.
Gets the items that fall into a specified group.
Adds search filter expressions to this list's data source.
Base Page containing base common functionality, all pages inherit from this.
Gets the basic raw url of the login page applicable to this master page.
Creates a new MessageBoxManager instance.
Applies the Render scripts for this message box on the specified page.
Shows the specified message object's ToString() to the user.
Shows the specified message to the user.
Gently shows the specified message object's ToString() to the user.
Gently shows the specified message to the user.
Base Page containing base common functionality, all pages inherit from this.
Sets startup focus on a specified control.
Redirects the user to the Login Page.
Gets the virtual path of a resource file.
The path of the resource from the root of the website. For example "Content/style.css"
Determines the required scheme (http / https) for this page.
Initializes the object and calls on the child controls of the to render.
The that receives the page content.
Occurs just before PostBackEvent is raised.
Raises the post back event.
This will redirect the user to the current Request.Url.
Will return the translation of the specified phrase in the language specified in user's cookie (or default language).
Will return the translation of the specified html block in the language specified in user's cookie (or default language).
Gets the URL to a page specified by its resource key (from Site Map).
Gets the URL to a page specified by its resource key (from Site Map).
Determines whether the current request is From inside an update panel.
Closes the current modal window.
Closes the current modal window.
Closes the current modal window.
Closes the current modal window.
Gets the currently specified return URL.
http://support.microsoft.com/kb/316431
This method is trying to solve the problem of downloading files in IE through secure access protocol (https)
Determines whether GZip should be enabled on this page's response.
Registers an external script url on this page.
Specifies whether the script should be added to the page header. If False, it will be added to the
Represents an .ascx file, also known as a user control, requested from a
server that hosts an ASP.NET Web application. The file must be called from
a Web Forms page or a parser error will occur.
Creates a new UserControl instance.
Gets a reference to the instance that contains the server control.
Will return the translation of the specified phrase in the language specified in user's cookie (or default language).
Will return the translation of the specified html block in the language specified in user's cookie (or default language).
Gets a value indicating whether the page request is the result of a call back.
Returns true if the page request is the result of a call back; otherwise, false.
This should return an anonymous object. Each property of that object will be exposed to the client-side function
via a JSon object.
The parameters sent by the client call.
Gets the URL to a page specified by its resource key (from Site Map).
Closes the current modal window.
Closes the current modal window.
Closes the current modal window.
Closes the current modal window.
Gets the currently specified return URL.
Creates a new LazyModule instance.
Enables processing of HTTP Web requests by a custom HttpHandler that implements the interface.
An object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
Gets a value indicating whether another request can use the instance.
true if the instance is reusable; otherwise, false.
Creates a new JavascriptVariable instance.
Creates a new SortExpressionProperty instance.
Sets the specified value directly without processing it.
Sets the specified sort expression. It processes DESC before setting it to create the toggle effect.
Determines if the application is currently being ran by Sanity.
Determines whether the application is running under Temp database mode.
To invoke this, send a request to /?web.test.command=tasks
Creates a new SecureFileDispatcher instance.
A property of type Document which represents the requested file property.
The object on which the document property was requested.
The security error raised by M# framework.
Call this in Global.asax for the entities model assembly.
Provides extensions methods to Standard .NET types.
Registers an external script url on this page.
Specifies whether the script should be added to the page header. If False, it will be added to the
It will restart the application.
Initializes a new Document instance, for the specified posted file.
Sends this error as a notification email to the address in web.config as Error.Notification.Receiver.
Sends this error as a notification email to the address in web.config as Error.Notification.Receiver.
Configures this smtp client with the specified config file path.
Sets the selected items of this list control to the specified array of objects.
Sets the selected item of this list control.
Sets the selected item.
Returns an object whose ID is given in query string with the key of "id".
Gets the cookies sent by the client.
Gets the data with the specified type from QueryString[key].
If the specified type is an entity, then the ID of that record will be read from query string and then fetched from database.
Returns a string value specified in the request context.
Returns a value specified in the request context.
Gets the record with the specified type. The ID of the record will be read from QueryString[key].
Gets the record with the specified type. The ID of the record will be read from QueryString["id"].
Gets the record with the specified type. The ID of the record will be read from QueryString[key].
Gets a list of objects of which Ids come in query string.
The key of the query string element containing ids.
The sepeerator of Ids in the query string value. The default will be comma (",").
Gets the selected object on this list control.
Gets the items of this list control.
Gets the items of this data list.
Gets the rows of this data list.
TODO: Refactor and clean this method.
Determines whether this grid view row is tagged deleted.
Finds the search keywords used by this user on Google that led to the current request.
Gets the actual IP address of the user considering the Proxy and other HTTP elements.
Determines if the given ip address is in any of the private IP ranges
Determines whether this request is initiated from the local network, i.e. its IP starts with "192.168.".
Writes the specified content wrapped in a DIV tag.
Redirects the client to the specified URL with a 301 status (permanent).
Redirects the client to the specified URL with a 301 status (permanent).
Returns a flat list of this item plus all items in its hierarchy.
Adds the specified list to session state and returns a unique Key for that.
Adds the specified list to session state and returns a unique Key for that.
Retrieves a list of objects specified by the session key which is previously generated by Session.AddList() method.
Converts the pager to query string-based links instead of the default post-back-driven model.
Runs the parallel select in the current HTTP context.
Iterator recursively returning each role in the current nodes and all of it's ancestor roles.
Overloads the SiteMapNode->IsAccessibleToUser method to test if the given User can access a particular page.
Determines if the specified argument exists in the request (query string or form).
Determines if a request parameter (route or query string) value does not exists for the specified key, or is empty.
Determines whether the scheme of the current request is HTTPS.
Gets the absolute URL for a specified relative url.
Returns the control on the page that caused the page to post back.
Restarts the currently running web application.
Gets the GridViewRow of this command.
Adds the range of specified entities translated in the specified language.
Renders this control into a HTML string.
Hides all controls in a collection
Gets all parent controls of this control to the root.
Determines is this control is the parent or ancestor of another control.
Adds a specified control after another existing control in this collection.
Adds a specified html content after another existing control in this collection.
Adds a specified control before another existing control in this collection.
Adds a specified html content before another existing control in this collection.
Gets the first parent of this control which is of the specified type.
Gets a Javascript expression that yield access to this control.
Gets a Javascript expression that yield a jQuery access to this control.
Finds the parent of this control with the specified css class.
It navigates the control tree up until it finds a matching control.
Gets the Css class of this control.
This solves the issue with multiple validation summary alert.
Gets all children of this control.
Transfers the children of this control to another specified control.
Transfers this control to a new parent.
Iterator returns all validators for this control and optional Validation group.
Iterator returns all validators of type T for this control and optional Validation group.
Returns the Control being validated by this Validator.
Removes this Control from it's parent Control on this Page.
Determines whether this is an Ajax call.
Dispatches a binary data block back to the client.
Dispatches a string back to the client as a file.
Dispatches a file back to the client.
If set to null, the same file name of the file will be used.
Dispatches a file back to the client.
If the request accepts encoding of GZIP then it will compress the response.
Determines if this is a GET http request.
Determines if this is a POST http request.
Gets the currently specified return URL.
Determines whether this is the specified browser and any of the specified major versions.
Adds Javascript code to safely set focus on the specified control.
Writes the specified message in the response and then ends the response.
Injects a file into this http file collection.
Reads the full content of a posted text file.
Removes a file from this http file collection with the specified key, if it exists.
Gets the selected object on this list control or returns null if no object exists for selected item.
Converts the grid view to a tree view by adding some spacer and a collapse icon
to the left side of a web control that has attribute [IsTreeNodeAnchor='true'].
In case there is not such control the first beginning of the row will be chosen.
The grid view.
Converts the grid view to a tree view by adding some spacer and a collapse icon
to the left side of a web control that has attribute [IsTreeNodeAnchor='true'].
In case there is not such control the first beginning of the row will be chosen.
The grid view.
Adds a hierarchy of nodes for a specified hirarchical item.
Adds a hierarchy of nodes for the specified hirarchical items.
Gets the data item of this node.
ID of the required object will be read from the Value of this node, and then the object of the specified type will be fetched from the database.
Finds a node in this treeview with its Value equal to the specified object's id.
Gets the selected object IDs in this tree view.
Retreives a list of all the TreeNode objects that are descendants of this calling node, regardless of their degree of separation.
Retreives a list of all the TreeNode objects that directly or indirectly children of this tree, regardless of their degree of separation.