Telerik Admin
Top achievements
Rank 1
Iron
Telerik Admin
asked on 21 Apr 2008, 11:24 AM
Hello,
In RadControls for ASP.NET AJAX Q1 2008 there is a change in the Client-Side API. The compatibility layer which was used in the transition beta period is now removed. All client-side methods strictly follow the ASP.NET AJAX conventions and are lower case.
For instance: get_activeToolTip() should always be used from now on, get_ActiveToolTip() is no longer supported. This also results in significant improvement in page loading times.
Best regards,
The Telerik team
In RadControls for ASP.NET AJAX Q1 2008 there is a change in the Client-Side API. The compatibility layer which was used in the transition beta period is now removed. All client-side methods strictly follow the ASP.NET AJAX conventions and are lower case.
For instance: get_activeToolTip() should always be used from now on, get_ActiveToolTip() is no longer supported. This also results in significant improvement in page loading times.
Best regards,
The Telerik team
4 Answers, 1 is accepted
0
dstj
Top achievements
Rank 1
answered on 20 Apr 2009, 06:29 PM
Please update the live demos and the documentation. Some are still using the wrong letter casing.
For example, from the API doc about "get_contentElement"
For example, from the API doc about "get_contentElement"
var tooltip = $find("RadToolTip3");
var contentElement = tooltip.get_ContentElement();
var checkboxes = contentElement.getElementsByTagName("INPUT");
From http://demos.telerik.com/aspnet-ajax/tooltip/examples/clientsideapi/defaultcs.aspx :
You can use the get_ContentElement, set_ContentElement functions to obtain a reference to the HTML element, holding the content of the RadToolTip or to set this element. Example:
var tooltip = $find("RadToolTip1");
var contentElement = tooltip.get_ContentElement();
tooltip.set_ContentElement(contentElement);
Current version : 2009 Q1 SP1 (2009.1.402.35)
var contentElement = tooltip.get_ContentElement();
var checkboxes = contentElement.getElementsByTagName("INPUT");
From http://demos.telerik.com/aspnet-ajax/tooltip/examples/clientsideapi/defaultcs.aspx :
You can use the get_ContentElement, set_ContentElement functions to obtain a reference to the HTML element, holding the content of the RadToolTip or to set this element. Example:
var tooltip = $find("RadToolTip1");
var contentElement = tooltip.get_ContentElement();
tooltip.set_ContentElement(contentElement);
Current version : 2009 Q1 SP1 (2009.1.402.35)
0
Hello dstj,
Thank you for reporting this, I already fixed the mentioned demo and article and updated them to the current naming conventions.
I also updated your account with new Telerik points for your cooperation.
Regards,
Svetlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Thank you for reporting this, I already fixed the mentioned demo and article and updated them to the current naming conventions.
I also updated your account with new Telerik points for your cooperation.
Regards,
Svetlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
T F
Top achievements
Rank 1
answered on 11 May 2010, 07:33 PM
How do you display an HTML string returned by the webservice inside of the Tooltip?
0
Hi,
Once the response is received we add it to the RadToolTip's content div with the following code:
div.innerHTML = response;
The following code:
will display:
Hope this helps.
Kind regards,
Petio Petkov
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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Once the response is received we add it to the RadToolTip's content div with the following code:
div.innerHTML = response;
The following code:
[WebMethod]
public
String SbuDetailHtml(
object
context)
{
string
value;
string
regular =
"regular<br/>regular<H1>regular</H1>"
;
string
encoded = Server.HtmlEncode(
"encoded<br/>encoded<H1>encoded</H1>"
);
return
value = regular + encoded;
}
regular
regular
regular
regular
encoded<br/>encoded<H1>encoded</H1>Hope this helps.
Kind regards,
Petio Petkov
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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.