RadDatePicker not showing the correct date when I place the mouse cursor on a date cell.

4 posts, 0 answers
  1. AratiS
    AratiS avatar
    18 posts
    Member since:
    Jun 2012

    Posted 09 Jul 2012 Link to this post

    When I place my mouse cursor on the Radschedulers DatePicker, I see 2 tool tips one showing the wrong date. I do not know from where it is setting the value. I am sending you the snapshot of the DatePicker showing the wrong date and also the markup of radscheduler and tooltip manager. If I set the AutoTooltipify field of RadToolTipManager to "false" it disables the tooltip for all the controls in RadScheduler, I don't want to do that Also note that, I want only the default tooltip(the one with yellow background) to be displayed for DatePicker. Please let me know how can I resolve the issue.

     <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Animation="Fade"
                                    AutoTooltipify="True" HideEvent="LeaveToolTip" OnClientBeforeShow="clientBeforeShow">
     </telerik:RadToolTipManager>






  2. Ivana
    Admin
    Ivana avatar
    657 posts

    Posted 11 Jul 2012 Link to this post

    Hello Arati,

    Could you please confirm that this behavior holds true on our online demos?
    If not, could you please open a support ticket on this matter and send us a sample project which demonstrates the troubled behavior?

    Also, what is the version of RadControls for ASP.NET AJAX that you use in your application?

    Greetings,
    Ivana
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Daniel
    Daniel avatar
    2 posts
    Member since:
    Jun 2012

    Posted 17 Jul 2012 Link to this post

    This behavior is happening for me as well. All I have on the page is the RadToolTipManager, 2 date pickers and a rad grid.

      <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" RelativeTo="Element"
            ShowEvent="OnMouseOver" AutoTooltipify="true" HideEvent="LeaveToolTip" ContentScrolling="Default"
            EnableShadow="true" Height="10">
             </telerik:RadToolTipManager>


    <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="true" UpdateMode="Always">
        <ContentTemplate>
            <table cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td>
                        <telerik:RadDatePicker runat="server" ID="rdpStartDate" ShowPopupOnFocus="true" Skin="Vista"
                            Font-Names="Arial" Font-Size="8" Width="100px">
                            <ClientEvents OnDateSelected="EqualizeEndDate" />
                            <DateInput ID="DateInput1" runat="server" Font-Names="Arial" Font-Size="8pt">
                            </DateInput>
                            <Calendar ID="Calendar1" runat="server" Font-Names="Arial" Font-Size="8pt" ShowRowHeaders="true"
                                UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                            </Calendar>
                            <DatePopupButton HoverImageUrl="" ImageUrl="" />
                        </telerik:RadDatePicker>
                    </td>
                    <td style="padding-left: 3px;">
                        <asp:Label ID="lblThru" runat="server" Font-Names="Arial" Font-Size="8pt" Text="thru"></asp:Label>
                    </td>
                    <td style="padding-left: 3px;">
                        <telerik:RadDatePicker runat="server" ID="rdpEndDate" ShowPopupOnFocus="true" Skin="Vista"
                            Font-Names="Arial" Font-Size="8" Width="100px">
                            <ClientEvents OnDateSelected="EqualizeStartDate" />
                            <DateInput ID="DateInput2" runat="server" Font-Names="Arial" Font-Size="8pt">
                            </DateInput>
                            <Calendar ID="Calendar2" runat="server" Font-Names="Arial" Font-Size="8pt" ShowRowHeaders="False"
                                UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                            </Calendar>
                            <DatePopupButton HoverImageUrl="" ImageUrl="" />
                        </telerik:RadDatePicker>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
  4. AratiS
    AratiS avatar
    18 posts
    Member since:
    Jun 2012

    Posted 18 Jul 2012 Link to this post

    I could not send a sample project to get a resolution for this, but i could disable both the tool tips using this:

    protected void Page_Prerender(object sender, EventArgs e)
        {
            RadCalendar popupCalendar = RadScheduler.FindControl("SelectedDateCalendar") as RadCalendar;
            popupCalendar.ShowDayCellToolTips = false;
        }

    Hope it helps. Please let me know if you are able to find a better solution.


    Thanks,
    Arati
Back to Top