This is a migrated thread and some comments may be shown as answers.

Update Tooltip text with Ajax

3 Answers 125 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Jonathan Rajotte
Top achievements
Rank 1
Jonathan Rajotte asked on 25 Jul 2007, 08:33 PM
I have a sample scenario where I want to update the Tooltip Text when a ajaxified button is clicked.  I could not succeed in doing so. Is this a bug?

ASPX
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
   <asp:ScriptManager id="ScriptManager1" runat="server"/>     
    <div> 
        <asp:Button runat="server" ID="button" OnClick="click" AccessKey="t" Text="Don't click, use Alt-T"  /> 
        <br /> 
        <asp:Label runat="server" id="label" Text="test"></asp:Label> 
        <tk:RadToolTip ID="ttTimesheetStatus" runat="server" Text="Prior to update" TargetControlID="label"  RelativeTo="Element" Skin="Default" ShowDelay="0" Position="TopRight" />   
    </div> 
   <radAjax:RadAjaxManager ID="radAjaxManager" runat="server">  
        <AjaxSettings> 
            <radAjax:AjaxSetting AjaxControlID="button">  
                <UpdatedControls> 
                    <%--<radAjax:AjaxUpdatedControl ControlID="label" />--%> 
                    <radAjax:AjaxUpdatedControl ControlID="ttTimesheetStatus" /> 
                </UpdatedControls> 
            </radAjax:AjaxSetting> 
        </AjaxSettings> 
    </radAjax:RadAjaxManager> 
    </form> 
</body> 
</html> 
 CS
public partial class _Default : System.Web.UI.Page   
{  
    protected void Page_Load(object sender, EventArgs e)  
    {  
 
    }  
 
    protected void click(object sender, EventArgs e)  
    {  
        ttTimesheetStatus.Text = "After Update";  
    }  

Thanks.
Jonathan

3 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 30 Jul 2007, 07:18 AM
Hi Jonathan Rajotte,
Please use RadAjax Prometheus in this case - you should not experience any problems with it.

All the best,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jonathan Rajotte
Top achievements
Rank 1
answered on 30 Jul 2007, 01:03 PM
Hi,

I read in your documentation and announcements that the Prometheus suite is supposed to be working with current Rad controls.  I am working on an application that uses a lot of the current Rad controls, and cannot just switch everything on Prometheus.

Am I to understand that I will not be able to ever update that tooltip control with Rad Ajax?  What about other Prometheus controls, are they updable with Rad Ajax?  Is there any plan to resolve that issue?

Thanks, Jonathan
0
Tsvetie
Telerik team
answered on 01 Aug 2007, 11:45 AM
Hello Jonathan Rajotte,
We are aware of the issue you originally described - it is a problem with the RadToolTip control and it is on out TODO list. Apart from the Text property of the RadToolTip, you should not have problems with updating controls with RadAjax.

Greetings,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
Jonathan Rajotte
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Jonathan Rajotte
Top achievements
Rank 1
Share this question
or