Month/Year Picker textbox disabled in FireFox when ShowPopOnFocus=true

2 posts, 0 answers
  1. Brent
    Brent avatar
    14 posts
    Member since:
    Apr 2008

    Posted 24 Oct 2011 Link to this post

    I am experiencing an issue which appears to be occurring in your demo of the Month/Year Picker control as well.  When we set ShowPopUpOnFocus="true", the user is unable to type a date into the DateInput field in FireFox and Safari.  This seems to work fine in IE.  Any suggestions?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 25 Oct 2011 Link to this post

    Hello Brent,

    Try the following markup and JavaScript to type a date in DateInputfield on focusing also.
    aspx:
    <telerik:RadMonthYearPicker ID="RadMonthYearPicker1" runat="server">
        <DateInput ClientEvents-OnFocus="OnFocus">
        </DateInput>
    </telerik:RadMonthYearPicker>
    JS:
    <script type="text/javascript">
    function OnFocus(sender, args)
    {
      var picker = $find("<%= RadMonthYearPicker1.ClientID %>");
      picker.showPopup();
    }
    </script>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top