【发布时间】:2013-03-20 11:33:34
【问题描述】:
我正在使用文本框并将 Ajax 日历控件绑定到它。 我需要在日历客户端点击控件上执行javascript功能,怎么可能?
<asp:TextBox ID="txtdate" runat="server" Width="150px"></asp:TextBox>
<ajax:CalendarExtender ID="CalendarExtender1" TargetControlID="txtdate" runat="server" OnClientDateSelectionChanged=”function” />
我可以在不使用 OnClientDateSelectionChanged 的情况下查看日历,但如果放置 OnClientDateSelectionChanged 我无法在文本框上看到日历控件。
【问题讨论】:
-
这是
OnClientDateSelectionChanged=”function”正是您在标记中的内容吗? -
OnClientDateSelectionChanged="function" 对上面的内容很抱歉
标签: ajax asp.net-ajax ajaxcontroltoolkit