Quick Links
AJAX Page - Callback Panel - How It Works
OboutInc.oboutAJAXPage
namespace
<%@ Register TagPrefix="oajax" Namespace="OboutInc" Assembly="obout_AJAXPage" %>
Example:
<
oajax:CallbackPanel
runat
="server"
ID
="callbackPanel1"
>
<
content
>
some content
<
/
content
>
<
loading
>
Loading...please wait
<
/
loading
>
<
/
oajax:CallbackPanel
>
CallbackPanel has 2 elements:
content
element can contain contain html, js, css and other server controls - like Obout Calendar, Obout EasyMenu, ASP.NET controls (ASP Textbox, ASP DropDownList, etc.).
loading
element is optional and it can include the html to display while the panel is loading.
If ommited, a default "
Loading...
" text is shown and all styles from
content
element are applied to the
loading
element.
It is visible only when the callback panel is updated using client-side UpdatePanel method.
Both
content
and
loading
elements can contain style definitions.
<
oajax:CallbackPanel
runat
="server"
ID
="callbackPanel1"
>
<
content
style
="border:1px solid gray;width:400px;height:200px"
>
some content
<
/
content
>
<
loading
style
="border:1px solid red;width:400px;height:200px"
>
Loading...please wait
<
/
loading
>
<
/
oajax:CallbackPanel
>
It is very useful to load dynamic scripts, dynamic stylesheets, dynamic controls, etc.
The update of the panel is done without reloading the page.
Client-side update
ob_post.UpdatePanel("callbackPanel1");
ob_post.UpdatePanelInContainer("callbackPanel1", "container");
ob_post.UpdatePanelFromPage("callbackPanel1", "container", "callbackPanels.aspx");
ob_post.UpdateAllPanels();
Server-side update
UpdatePanel("callbackPanel1");
UpdatePanel("callbackPanel1", "container");
UpdateAllPanels();
View
UpdatePanel
tutorial.
View
UpdatePanelInContainer
tutorial.
View
UpdatePanelFromPage
tutorial.
View
UpdateAllPanels
tutorial.
See also:
Server-side documentation
,
Client-side documentation
.
"
I must admit that your components are the most intuitive I've ever used your product suite is really great, but equally important, the support is even better! :)
"
Michael Holm Andersen
M media
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
Contact us