Quick Links
AJAX Page - CallbackPanel Server-side
Methods
,
Properties
,
Events
<%@ Register TagPrefix="oajax" Namespace="OboutInc" Assembly="obout_AJAXPage" %>
Methods
Name
Description
UpdatePanel
Update callback panel specified by id.
UpdatePanel(panelID)
panelID - ID of the callback panel.
UpdatePanel("callbackPanel1");
The content of the callback panel can also be loaded inside a container
(div, span, table cell, etc.).
UpdatePanel(panelID, containerID)
panelID - ID of the callback panel.
containerID - ID of the container (div, span, table cell, etc.).
UpdatePanel("callbackPanel1", "container");
View
UpdatePanel
tutorial.
UpdateAllPanels
Update all callback panels from page.
UpdateAllPanels()
Does not require any parameters.
UpdateAllPanels();
View
UpdateAllPanels
tutorial.
Properties
Name
Description
ID
The ID of the panel.
RenderMethod
Rendering method of the callback panel.
Accepted values are:
Always
- the panel is always updated (when the page is first loaded, when an explicit UpdatePanel requests it, when UpdateAllPanels is used).
OnCallback
- the panel is only updated on a callback (when an explicit UpdatePanel requests it, when UpdateAllPanels is used).
The panel is not rendered when the page is first loaded.
OnExplicitRequest
- the panel is only updated when UpdatePanel is used explicitly for this panel.
It is not rendered when the page is first loaded, nor when UpdateAllPanels is used.
OnExplicitRequestAndPageLoad
- the panel is only updated when UpdatePanel is used explicitly for this panel.
It is also rendered when the page is first loaded.
Default value is
Always
.
Optional
.
ShowLoading
When a callback panel update is taking place after a postback, have the option to choose if to show or not the loading panel.
Default value is
true
.
ClientOnUnload
Can contain javascript instructions that will be executed before panel unload.
Optional
.
postbackPanel1.ClientOnUnload = "alert('on panel unload');";
Events
Name
Description
BeforePanelUpdate
Invoked before the update is triggered on the server.
If the registered method for this event returns
false
, the update is canceled.
Parameters:
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.
In order for the event to be caried out (the panel to be updated/the request to be sent) the function must return
true
.
PanelUpdate
Invoked after the update has been completed at server side.
Parameters:
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.
"
Thanks for the awesome support and incredible product!
"
Andy Mason
Random testimonial
All testimonials
obout.com
obout.com Home
News
AJAX Page Home
- 5
AJAX Page Home
How It Works
Why Use It
Free Download
Site Map
Examples
- 42
Upgrade from Postback4
Real life usage examples
- 15
CPU Monitor
File Browser
Live Search Engine
Address Book
Voting
Dynamic Combobox
3 Dynamic Comboboxes
With Grid
Server Validator
Shopping Cart
Customers
Products List
Sql Analyzer
Login control
Loading window
Callback Panel
- 13
Auto Callback
Simple Literal Update
Simple Grid Update
Tab Strip
Client-side Events
No Javascript
UpdatePanel
UpdatePanelInContainer
UpdatePanelFromPage
UpdateAllPanels
Customize
RenderMethod
Using XmlDataSource
Server to client
- 5
ShowAlert
SetValue
OpenWindow
ShowConfirmationDialog
CreateTimer/CancelTimer
Other Features
- 8
AddParam/ResetParams
CallbackViewState
Client-side Events
ExecBeforeLoad/ExecOnLoad
Response
Redirect
Synchronous Callback
Asynchronous Callback
Knowledge Base
- 2
How-To and Help
Knowledge Base
Documentation
- 7
With Master Pages
Server-Side
Client-Side
CallbackPanel
- 3
How It Works
Server-Side
Client-Side
ChangeLog
Tutorials
- 22
Callback Panel
UpdatePanel
UpdatePanelInContainer
UpdatePanelFromPage
UpdateAllPanels
How To Customize
AddParam/ResetParams
Sync vs. Async
Execute functions after Async
Retrieve Values Server-Side
Send complex client objects
New
ExecBeforeLoad
ExecOnLoad
EndResponse
Server to client
Send data back to client
Send complex server objects
New
Type Preserve
JSVisible
Test and Debug
No Error Handling Example
Debug Sync Example
Debug Async Example
ASP.NET 2.0-4.0
AJAX Page
Calendar
Color Picker
Date Picker
File Upload Progress
Flyout
Grid
HTML Editor
Image Zoom
Listbox
Multilevel Listbox
Show
Spell Checker
Splitter
Super Form
Tab Strip
TreeView
Tree_DB
Window
Menu
Context Menu
Easy Menu
Slide Menu
Text Menu
Combobox
Combobox
AJAX Autosuggest
Multilevel Combobox
State Selector
Interface Controls
Button
Checkbox
Dropdown List
Multiline Textbox
Radio Button
Textbox
ASP.NET 3.5-4.0
Color Picker
File Upload
HTML Editor
Spell Checker
TreeView
ASP.NET MVC
Combobox
HTML Editor
Interface Controls
Listbox
Multilevel Combobox
Multilevel Listbox
State Selector
Download
Suite for ASP.NET
Customer log-in
Support
Knowledge base
Contact support
Install FAQ
Mailing list
Purchase
Purchase page
Contact Sales
License info
Terms of use
Company
Testimonials
Clients
About us
Contact us