Update Tooltip text with Ajax

4 posts, 0 answers
  1. Jonathan Rajotte
    Jonathan Rajotte avatar
    82 posts
    Member since:
    Oct 2005

    Posted 25 Jul 2007 Link to this post

    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
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 30 Jul 2007 Link to this post

    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
  3. Jonathan Rajotte
    Jonathan Rajotte avatar
    82 posts
    Member since:
    Oct 2005

    Posted 30 Jul 2007 Link to this post

    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
  4. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 01 Aug 2007 Link to this post

    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
Back to Top