Method | Description | |
---|---|---|
AddControlScript ( |
||
AddEventToAllSubmitItems ( |
Iterates through all the controls of the first control and recursiv calling this funktion again until the control has no more sub Controls. If one control is a Button or a LinkButton, the eventscript will be added to the event
|
|
SetWebControlEvent ( |
Add an event to the Webcontrol if another event is assigned the script will be appended to the event
|
|
SetWebControlEvent ( System.Web.UI.UserControl ctrl, string eventName, string script ) : void |
Add an event to the Webcontrol if another event is assigned the script will be appended to the event
|
|
SetWebControlEvent ( |
Add an event to the Webcontrol if another event is assigned the script will be appended to the event
|
public static AddControlScript ( |
||
page | ||
eventName | string | |
control | ||
script | string | |
return | void |
public static AddEventToAllSubmitItems ( |
||
ctrl | The Control to iterate through | |
eventString | string | the name of the event to assign |
eventScript | string | The script to assign to the event |
return | void |
public static SetWebControlEvent ( |
||
ctrl | The WebControl to add the event to eg. a button | |
eventName | string | The name of the event eg. onclick |
script | string | The Script to call when the event is fired |
return | void |
public static SetWebControlEvent ( System.Web.UI.UserControl ctrl, string eventName, string script ) : void | ||
ctrl | System.Web.UI.UserControl | The WebControl to add the event to eg. a button |
eventName | string | The name of the event eg. onclick |
script | string | The Script to call when the event is fired |
return | void |
public static SetWebControlEvent ( |
||
ctrl | The WebControl to add the event to eg. a button | |
eventName | string | The name of the event eg. onclick |
script | string | The Script to call when the event is fired |
return | void |