Please note that providing and implementing custom solutions is beyond the scope of our support. I will explain how the XmlHttpPanel control works, and how it should be used, and you can decide whether it is suitable for your scenario.
How the XmlHttpPanel works?
for this purpose. Well that's the underlying principle of the XmlHttpPanel. It pastes the HTML content received from the web service or the callback, within the panel's HTML element (<span/> or <div/>). This means that the WebService method should return HTML string which then will be pasted in the XmlHttpPanel element. In the callback event handler you should add Controls to the XmlHttpPanel, or modify the controls that are already in the XmlHttpPanel. If you want add pure HTML element, you should create a LiteralControl and set the HTML to its Text property.
Here is how a sample code should look like using both approaches:
"<div style='color:Red;'>This is a DIV.</div>"
sender, Telerik.Web.UI.RadXmlHttpPanelEventArgs e)
style='color:Red;'>This is a DIV.</div>"
More information about the XmlHttpPanel can be found on our online documentation.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items