Clear Targetcontrols client side

5 posts, 1 answers
  1. Cush
    Cush avatar
    88 posts
    Member since:
    Apr 2010

    Posted 25 May 2011 Link to this post

    Hi All

    Is there any way to clear the tooltip target controls client side?

    I have a radgrid inside of a radajaxpanel, The grid has a tool tip that shows when the mouse is hovered over a particular column.
    The grid items are edited and deleted via a popup radwindow,
    When the user adds or delete's the window closes and calls back to rebind the grid using javascript client rebind method.

    However i cannot update the tooltip!
    I know i could place a radajaxmanager on the page and call back to the server side but i would rather not do this.

    I have tried putting the targetcontrols.clear in the ItemDataBound event of the grid before the tooltip controls are added, but the tooltip just does not show if i do this.

    Any help would be most appriciated.

    Many Thanks

    Cush
  2. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 27 May 2011 Link to this post

    Hi Cush,

     As far as I understand you perform an AJAX request to rebind the grid and the problem is that the tooltip shows the old data. If so, I suggest to put the RadToolTipManager in the same RadAjaxPanel as the grid - this will fix the problem.

    All the best,
    Svetlina
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Cush
    Cush avatar
    88 posts
    Member since:
    Apr 2010

    Posted 27 May 2011 Link to this post

    Hi Svetlina

    Thank you for replying to my post.

    I tried your suggestion initialy and it would not work?
    However i have just tried it again now and it works perfectly ????

    Thanks Again

    Regards

    Cush
  5. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 27 May 2011 Link to this post

    Hello Cush,

     I am glad to hear that you made things work as you require. As to the initial setup, it is possible that something was cached by the browser.

    If you encounter any other problem do not hesitate to contact us again, we will be glad to help.

    Kind regards,
    Svetlina
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  6. Sudhir
    Sudhir avatar
    2 posts
    Member since:
    Nov 2012

    Posted 01 Nov 2012 Link to this post

    Thanks for the tip. I was having the same issue and this resolved it.

    Sudhir
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017