开发者

AjaxToolkit Calendar Extender Programmatic change in value not reflected

There is a calendar image near to the text box for dropdown calendar. When I change the date value in text box by

$("#calendarTextBox").val("11/22/2004");

and then if user clicks on the image, the drop down calendar contains the old date value instead of the one set by the javascript.

Any clues will be helpful.

Calendar Demonstrati开发者_JS百科on for trying out.


Got the solution.

$find('<%CalenderExtenderContol.ClientID%>').set_selectedDate(new Date('11/22/2004'));
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜