This is a migrated thread and some comments may be shown as answers.

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

1 Answer 34 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Brent
Top achievements
Rank 1
Brent asked on 24 Oct 2011, 06:23 PM
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?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 25 Oct 2011, 06:40 AM
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.
Tags
Calendar
Asked by
Brent
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or