JavaScript客户端脚本输出帮助类
SystemObject HD.CommonJavaScriptHelper
Namespace: HD.CommonAssembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
public class JavaScriptHelper
Public Class JavaScriptHelper
public ref class JavaScriptHelper
type JavaScriptHelper = class end
The JavaScriptHelper type exposes the following members.
| Name | Description |
---|
![Public method Public method](pubmethod.gif) | JavaScriptHelper | Initializes a new instance of the JavaScriptHelper class |
Top
| Name | Description |
---|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | Alert |
弹出信息
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | AlertAndGoHistory |
弹出信息,并返回历史页面
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | AlertAndParentUrl |
弹出信息 并指定到父窗口
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | AlertAndRedirect |
弹出信息,并跳转指定页面。
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | CloseWindow |
关闭当前窗口
|
![Public method Public method](pubmethod.gif) | Equals | (Inherited from Object.) |
![Protected method Protected method](protmethod.gif) | Finalize | (Inherited from Object.) |
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | GetCurrentPage |
得到当前页对象实例
|
![Public method Public method](pubmethod.gif) | GetHashCode | (Inherited from Object.) |
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | GetShowModalWindowScript |
返回把指定链接地址显示模态窗口的脚本
|
![Public method Public method](pubmethod.gif) | GetType | (Inherited from Object.) |
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | GoHistory |
回到历史页面
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | JavaScriptExitIfream |
页面跳转(跳出框架)
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | JavaScriptLocationHref |
转向Url指定的页面
|
![Protected method Protected method](protmethod.gif) | MemberwiseClone | (Inherited from Object.) |
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | OpenWebFormSize |
打开指定大小的新窗体
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | ParentRedirect |
返回到父窗口
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | RefreshOpener |
刷新打开窗口
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | RefreshParent |
刷新父窗口
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | RegisterScriptBlock |
注册脚本块
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | ShowCilentConfirm(WebControl, String, String) |
显示客户端确认窗口
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | ShowCilentConfirm(WebControl, String, String, Int32, Int32, String) |
显示客户端确认窗口
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | ShowCilentModalWindow(String, TableCell, String, String, Int32, Int32, String, Boolean) |
为指定控件绑定前台脚本:显示模态窗口
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | ShowCilentModalWindow(String, WebControl, String, String, Int32, Int32, String, Boolean) |
为指定控件绑定前台脚本:显示模态窗口
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | ShowModalDialogJavascript |
打开模式对话框
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | ShowModalDialogWindow(String, String) |
打开模式对话框
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | ShowModalDialogWindow(String, Int32, Int32, Int32, Int32) |
打开指定大小位置的模式对话框
|
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | ShowModalWindow |
把指定链接地址显示模态窗口
|
![Public method Public method](pubmethod.gif) | ToString | (Inherited from Object.) |
![Public method Public method](pubmethod.gif) ![Static member Static member](static.gif) | WriteScript |
写javascript脚本
|
Top
Reference