Methods,
Events
| AJAXPage - CallbackPanel Client-side
|
| |
|
OboutInc.oboutAJAXPage
namespace
<%@ Register TagPrefix="oajax" Namespace="OboutInc" Assembly="obout_AJAXPage" %>
Methods
UpdatePanel
|
Update callback panel specified by id.
UpdatePanel(panelID)
-
panelID - ID of the callback panel.
ob_post.UpdatePanel("callbackPanel1");
View UpdatePanel tutorial.
|
UpdateAllPanels
|
Update all callback panels from page.
UpdateAllPanels()
Does not require any parameters.
ob_post.UpdateAllPanels();
View UpdateAllPanels tutorial.
|
UpdatePanelInContainer
|
Load the content of a CallbackPanel inside a container (div, span, table cell, etc.).
UpdatePanelInContainer(panelID, containerID)
-
panelID - ID of the callback panel.
-
containerID - ID of the container.
ob_post.UpdatePanelInContainer("callbackPanel1", "container");
View UpdatePanelInContainer tutorial.
|
UpdatePanelFromPage
|
Load the content of a CallbackPanel from another page inside a container (div, span, table cell, etc.).
UpdatePanelFromPage(panelID, containerID, pageURL)
-
panelID - ID of the callback panel.
-
containerID - ID of the container.
-
pageURL - URL of the page where the callback panel belongs to.
Optional. If it's null, the content of the CallbackPanel is taken from the same page.
ob_post.UpdatePanelFromPage("callbackPanel1", "container", "myPage.aspx");
ob_post.UpdatePanelFromPage("callbackPanel1", "container", null);
View UpdatePanelFromPage tutorial.
|
|
|
|
|
Events
ob_OnBeforePanelUpdate
|
Invoked before a panel is updated at client side (before the request is sent to server to request for an update to the panel).
ob_OnBeforePanelUpdate(panelId, containerId, page)
- panelId - Panel id to update - null if request was made to update all panels.
- containerId - Container in which to store the panel's content - null if panel updates itself in its own container.
- page - Page where the panel is declared.
If this method returns false, the update is canceled.
|
ob_OnPanelUpdate
|
Invoked after the panel update was completed.
ob_OnPanelUpdate(panelId)
- panelId - The id of the panel that was updated.
|
|
|
|
|
| "You are the best
That is exactly what I needed
Thank you" |
Nik |
| Hill's Imports Inc |
| |
|