Find a video:
In this quick video, you will learn how to start working wiht the RadXmlHttpPanel for ASP.NET AJAX. Learn how setup and use the RadXmlHttpPanel and its two update modes: Callback and Web Service. Also see how RadXmlHttpPanel compares to a standard UpdatePanel.
Help improve Telerik TV. Visit the official feedback forum!
Hmmm, I am a little confused. How did you get the XML Web Service Call to work. The onClientClick was set to call UpdateTimeWS(); however, you just copied the UpdateTime js function and never renamed it?
@Mansoor - Excellent catch! That's definitely a demo bug. The demo "seems" to work because Firefox is actually hiding the error and just reloading the page, causing the Panel's default page load behavior to update the value. That's also why you see a "flicker" when the WS Update button is clicked. If you -do- properly rename the JS function, the update is smooth with no flicker
Todd - about a 1:20 into the video - when looking at the TimeService.cs file, can you provide the full line that begins: [AspNetCompatibilityRequirements(RequirementsMode = ... I'm trying to walk through the whole demo. Also, do you have a VB version handy? Thanks in advance!
@Kevin - That line should be auto-generated by VS when you create a new "AJAX-compatible WCF Service." Full line is this: [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]