RadAjax for ASP.NET
Table of Contents
Introduction
What's New
What is AJAX?
Advantages of telerik AJAX framework
Telerik AJAX framework
Getting started
Migrating from r.a.d.callback to Telerik RadAjax
Changes and backward compatibility
Licensing
Installation and deployment
DNN
Globalization
AJAX Manager
AJAX Panel
Panel vs. Manager
AJAX Loading Panel
AJAX Timer
WebServiceManager
How-to
Frequently Asked Questions
Updating 3rd party controls with Telerik RadAjax
Redirecting to another page
Disable controls during AJAX
Load user controls
Executing custom javascript code after AJAX update
Forcing postback
Exclude controls from ajaxifying
Cancel AJAX request
Client confirmation and AJAX
Error handling for AJAX requests
Manually add an AJAX request to a client-side event of an HTML element
Assign different Client-events for different controls
Set Loading Panel depending on AJAX initiator
Disable AJAX when client browser does not support it
Keep Focus After AJAX Update
How to use Css Conditional Comments with Ajax
Working with custom error pages
Download files with ajaxified control
Set maximum request queue size
capture connection error and cancel ajax request
Reinitializing global variables on ajax request
Performance tips and tricks
Troubleshooting
Client-side
API Reference
Get more help
PID412 ; RID7 ; VID0
Frequently Asked Questions
Send comments
on this topic.
How-to > Frequently Asked Questions
Glossary Item Box
Q:
I have a button and a control (RadTreeview for example). The button should update the control with AJAX. How should I proceed?
A:
You should use the
AJAX manager
. In the left pane select the button and in the middle pane select the treeview.
Q:
My control is within an
AJAX Panel
and I want to update a control in another
AJAX Panel
. Is this possible?
A:
Instead of using two
AJAX Panels
, consider using a single
AJAX Manager
.
However if you still want to use the two panels, you should make external call from the AJAX-initiator control to the
AjaxRequest
client-side function of the target
AJAX Panel
. (see
AJAX Panel
topic)
Q:
I need to load an user control dynamically with AJAX. Is this possible?
A:
The only difference between the standard loading of controls and AJAX loading is that you should put control in an ASP panel instead of a Placeholder.
Q:
I have two controls that interact and update each other. How should I ajaxify them?
A:
Depending on your application you can use a single Panel to wrap the two controls or
AJAX Manager
in case the controls are non-adjacent.
Q:
Can I use
AJAX Panel
in another
AJAX Panel
(i.e. nested
AJAX Panels
)?
A:
There should be no problem to use nested
AJAX Panels
. However we recommend you to revise the page logic and see if you can achieve the same behavior with
AJAX Manager
or two
AJAX Panels
which are not nested.
Q:
I have a client-side code, which is executed on some of the events of a control inside
AJAX Panel
. How should I proceed?
A:
There is nothing special that you need to do in this case -
AJAX Panel
automatically evaluates the client-side code and does not require you to write additional code.
Q:
I have a control A, which updates control B, which then updates control C. The control C then updates control A again. Controls are dependent on each other and should be updated sequentially. What would you suggest?
A:
The answer depends on how the controls are placed on the Page. In case they are neighboring, place them in AJAX Panel. In case they are non-adjacent, use
AJAX Manager
and set the AJAX Relations.
Q:
I need my controls disabled during AJAX. What should I do?
A:
You should hook the Panel/Manager client-side event
OnRequestStart
and write custom JavaScript code to achieve your goal. Then you should re-enable it by hooking the
OnResponseEnd
client-side event.
Q:
Why is my
RadAjaxTimer
performing
POSTBACKS
instead of AJAX requests?
A:
You need to ajaxify
RadAjaxTimer
with
RadAjaxManager
or place it inside a
RadAjaxPanel
.