views:

12

answers:

0

I would like to inquire about the issue of dijit DateTextBox, When a DateTextBox is the first control in the page, the popup control is no longer shown since the toolkit probably waits for onfocus event to show the popup instead of the onclick.

Is there anyway to make the first date textbox control to show the popup when the mouse is placed on the textbox?

For my second question, if a DateTextBox is placed inside a dijit.Form.Form, and the textbox is the first control, the popup window is automatically shown. Is there a way to avoid the popup? My only solution here is to set the tabindex to another control like a button. But this is not applicable at times. Consider the case where you hava a date as first control and it has a default value set, but you want the focus to be initially in that control so the user can edit it.

Any help from dojo experts here?