ScriptManager.RegisterClientScriptBlock Method
Registers a client script block with the ScriptManager control for use with a control that is inside an UpdatePanel control, and then adds the script block to the page.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
RegisterClientScriptBlock(Control, Type, String, String, Boolean) | Registers a client script block with the ScriptManager control for use with a control that is inside an UpdatePanel control, and then adds the script block to the page. |
|
RegisterClientScriptBlock(Page, Type, String, String, Boolean) | Registers a client script block with the ScriptManager control for use with a control that is inside an UpdatePanel control, and then adds the script block to the page. |
use string.format
example: string.Format("confirm('insert parameter value here: {0}');", value)
- 5/20/2011
- areen
parameter value passing using ScriptManager.RegisterClientScriptBlock
how to pass a value to javascript function using ScriptManager.RegisterClientScriptBlock .
like i have to pass some username to javascript function which opens an outlook with the username filled.
any help would be appreciated,.
thanks in advance
- 2/17/2011
- MoazzamAli