UpdatePanel Class [Javascript]

Summary

Methods Description
addTrigger Add a trigger (causes panel update) to an updatepanel.
attachData Attach data to send along with UpdatePanel to server to process.
registerEvent Register an event.
setContent Set any HTML content to UpdatePanel.
update Update the panel.

Methods Detail

addTriggerTop

function addTrigger(string elementId, string  eventName)

Add a trigger (causes panel update) to an updatepanel.

Show/Hide Code

Supported from version: 1.2.0.0

attachDataTop

function attachData(string key, string  value)

Attach data to send along with UpdatePanel to server to process.

Show/Hide Code

Supported from version: 1.3.0.0

registerEventTop

function registerEvent(string eventName, function funcHandle)

Register an event.
Allowed eventName:
"OnBeforeSendingRequest"
"OnBeforeUpdatePanel"
"OnSendingRequest"
"OnUpdatePanel"

Show/Hide Code

Supported from version: 1.2.0.0

setContentTop

function setContent()

Set any HTML content to UpdatePanel.

Show/Hide Code

Supported from version: 1.2.0.0

updateTop

function update([string url])

Make callback to server to get new content for Update Panel. The url is optional. If the url is specified, the UpdatePanel will send request to that url.

Show/Hide Code

Supported from version: 1.2.0.0