Hi,
just wondering how to make the calendar close when a date is selected...
<
asp:Tablerunat="server"ID="CalendarTable"HorizontalAlign="Center"Width="100%"Height="100%"BackColor="LightGray"><asp:TableRow><asp:TableCellVerticalAlign="Top"><asp:Labelrunat="server"ID="fromDateLabel"Text="from:"CssClass="label"></asp:Label><asp:TextBoxrunat="server"ID="fromTB"CssClass="normal"></asp:TextBox><ajaxToolkit:CalendarExtenderrunat="server"ID="fromCalendar"TargetControlID="fromTB"CssClass="MyCalendar"Animated="true"></ajaxToolkit:CalendarExtender><br/></asp:TableCell><asp:TableCellVerticalAlign="Top"><asp:Labelrunat="server"ID="toDateLabel"Text="to:"CssClass="label"></asp:Label><asp:TextBoxrunat="server"ID="toTB"CssClass="normal"></asp:TextBox><ajaxToolkit:CalendarExtenderrunat="server"ID="toCalendar"TargetControlID="toTB"CssClass="MyCalendar"Animated="true"></ajaxToolkit:CalendarExtender></asp:TableCell><asp:TableCell><asp:Buttonrunat="server"ID="calendarQueryButton"CssClass="button"Text="Search"/></asp:TableCell></asp:TableRow></asp:Table>I solved this problem by putting
PopupButtonID property to the same textBox
dark_angle:
I solved this problem by putting
PopupButtonID property to the same textBox
I had that. Removed it to solve another issue: with that property set as well, clicking anywhere else on the screen did not dismiss the calendar. And clicking on the second TextBox made a 2nd calendar without dismissing the first...
No comments:
Post a Comment