I have JavaScript based Gantt Chart that is built on the client when the page loads from an initialization script that was built on the server. For version 1, my client has elected to first update the chart by making Ajax calls to the server and let the return script completely rebuild the chart while leaving the rest of the page alone. Eventually the chart will be modified on the client with only data changes being sent to the server via Ajax.
I have done a lot of JavaScript using hte XMLHTTPRequest object. So I am familiar with this part of the plumbing.
The web page with the Gantt chart will have other content built from calls to the DB layer. We want this and any associated Viewstate left completely alone and we don't want to do any normal PostBack processing during the Ajax call such has hitting the DB layer again for anything other than Gantt related issues.
The Ajax call will be initiated by Gantt chart client method using RadAjaxManager.ajaxRequest(AjaxDataToServer).
- During the server side processing, should we use RadAjaxManager.isAjaxRequest to pretty much prevent any other processing not needed for the Ajax call?
- In reading the Telerik documentation, it appears that the XML response due to the Ajax call is all that is returned to the client and not any of the normal page content that is normally built during a Page Cycle. Is this correct and with an overview type of reply, how is the normal page content suppressed? Is there a more formal and descriptive document that gives a more detailed explanation other than what I have seen under the help documentation entitled "What is AJAX?"
- When using my own JavaScript libraries using the XMLHTTPRequest object, I often post to a different url that is entirely devoted to processing Ajax calls. This can be pretty handy when I have processing that is exactly common to many pages and so there is no need for any isAjaxRequest type of related processing - write once, use many times. Using the approach of Teleriik, It appears that it is not possible to change the url of the Ajax call away from the current page url. Is this true?
- It appears that a JavaScript eval(...) is executed by any script returned by server using RadAjaxManagerOrTelerikControl.ResponseScripts.Add(script). Is this true?
BTW - I am absolutely delighted with your product
Have a nice day,
Carl Taylor
Suwanee, GA USA