Class CommandHandler
Inheritance
Implements
Inherited Members
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0Syntax
public class CommandHandler : ICommandHandler
Constructors
CommandHandler()
Declaration
public CommandHandler()
Methods
AddCommandHandler(Object, Object, Object)
Declaration
public object AddCommandHandler(object Sender, object Command, object Argument)
Parameters
Type | Name | Description |
---|---|---|
System.Object | Sender | |
System.Object | Command | |
System.Object | Argument |
Returns
Type | Description |
---|---|
System.Object |
GenerateClientCommand(Object, Object)
Generates the client command.
Declaration
public IClientCommand GenerateClientCommand(object Sender, object Command)
Parameters
Type | Name | Description |
---|---|---|
System.Object | Sender | The sender. |
System.Object | Command | The command. |
Returns
Type | Description |
---|---|
IClientCommand |
GetCloseOpenedFrameScript(Page, String)
Registers the closing script for frame-popup window.
Declaration
public static string GetCloseOpenedFrameScript(Page pageInstance, string sParams)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | pageInstance | The page instance. |
System.String | sParams | The params. |
Returns
Type | Description |
---|---|
System.String |
GetCloseOpenedFrameScript(Page, String, Boolean, Boolean)
Registers the closing script for frame-popup window.
Declaration
public static string GetCloseOpenedFrameScript(Page pageInstance, string sParams, bool refreshParent, bool addReturn)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | pageInstance | The page instance. |
System.String | sParams | The params. |
System.Boolean | refreshParent | if set to |
System.Boolean | addReturn | if set to |
Returns
Type | Description |
---|---|
System.String |
GetCloseOpenedWindowScript(Page, String)
Registers the closed script for open window.
Declaration
public static string GetCloseOpenedWindowScript(Page pageInstance, string sParams)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | pageInstance | The page instance. |
System.String | sParams | The s params. |
Returns
Type | Description |
---|---|
System.String |
GetCommandScriptHandler(Object, Object)
Gets the script handler.
Declaration
public string GetCommandScriptHandler(object Sender, object Command)
Parameters
Type | Name | Description |
---|---|---|
System.Object | Sender | The sender. |
System.Object | Command | The command. |
Returns
Type | Description |
---|---|
System.String |
GetRefreshCommand(Page)
Gets the dependent refresh command.
Declaration
public static string GetRefreshCommand(Page pageInstance)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | pageInstance | The page instance. |
Returns
Type | Description |
---|---|
System.String |
IsCommandEnableHandler(Object, Object, Object)
Declaration
public bool IsCommandEnableHandler(object Sender, object Command, object Argument)
Parameters
Type | Name | Description |
---|---|---|
System.Object | Sender | |
System.Object | Command | |
System.Object | Argument |
Returns
Type | Description |
---|---|
System.Boolean |
PostBackHandler(Object, Object, Object)
Declaration
public void PostBackHandler(object Sender, object Command, object Argument)
Parameters
Type | Name | Description |
---|---|---|
System.Object | Sender | |
System.Object | Command | |
System.Object | Argument |
RegisterCloseOpenedFrameScript(Page, String)
Registers the closed script for open frame modal popup.
Declaration
public static void RegisterCloseOpenedFrameScript(Page pageInstance, string sParams)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | pageInstance | The page instance. |
System.String | sParams | The s params. |
RegisterCloseOpenedFrameScript(Page, String, Boolean)
Declaration
public static void RegisterCloseOpenedFrameScript(Page pageInstance, string sParams, bool refreshParent)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | pageInstance | |
System.String | sParams | |
System.Boolean | refreshParent |
RegisterCloseOpenedWindowScript(Page, String)
Registers the closed script for open window.
Declaration
public static void RegisterCloseOpenedWindowScript(Page pageInstance, string sParams)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | pageInstance | The page instance. |
System.String | sParams | The s params. |
RegisterInfrastructure(Object)
Declaration
public void RegisterInfrastructure(object Sender)
Parameters
Type | Name | Description |
---|---|---|
System.Object | Sender |
RegisterRefreshParentFromFrameScript(Page, String)
Registers the refresh parent window script.
Declaration
public static void RegisterRefreshParentFromFrameScript(Page pageInstance, string sParams)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | pageInstance | The page instance. |
System.String | sParams | The s params. |
RegisterRefreshParentWindowScript(Page, String)
Registers the refresh parent window script.
Declaration
public static void RegisterRefreshParentWindowScript(Page pageInstance, string sParams)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | pageInstance | The page instance. |
System.String | sParams | The s params. |