Click or drag to resize

SavedFilterOpen Method (IAppContext, String)

Opens the specified filter from the IAppContext.DataDB database and returns the SavedFilter object.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static SavedFilter Open(
	IAppContext appCxt,
	string filterID
)

Parameters

appCxt
Type: NetQuarryIAppContext
The applicaton context object.
filterID
Type: SystemString
The ID of the filter.

Return Value

Type: SavedFilter
A new SavedFilter object opened from the database.
Examples
This example is executed in a RowAfterInsert event in an extension. It assumes that the filter ID (bkid) has been sent on the QueryString via the Navigate(String, String, String, String, NavigateAttrs, String) method.
string          bkid = System.Web.HttpContext.Current.Request.QueryString["bkid"];
SavedFilter     fltr = SavedFilter.Open(this.Application, bkid);
See Also