Rad tool tip in raddatepicker

2 posts, 0 answers
  1. ithihas
    ithihas avatar
    14 posts
    Member since:
    Jun 2012

    Posted 28 Jun 2012 Link to this post

    i gave a radtooltip to a raddatepicker and tooltip is not showing.? how can it be possible?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Jun 2012 Link to this post

    Hi,

    The RadDatePicker  contain different HTML elements. Those elements have different client IDs and they should be set in the TargetControls collection, e.g if you want to tooltipify the wrapper element of the RadDatePicker, try the following code.
    aspx:
    <telerik:RadDatePicker runat="server" ID="rdp2"></telerik:RadDatePicker>
    <telerik:RadToolTip runat="server" ID="rtt2" Text="show tool tip" TargetControlID="rdp2_wrapper" IsClientID="true" Position="BottomRight" RelativeTo="Element" HideEvent="ManualClose">
    </telerik:RadToolTip>

    Thanks,
    Princy.
Back to Top