Ajax CalendarExtender, How to get the date after i click on a button?
I want to add add an Ajax CalendarExtender to my page. And then after selecting a date and clicking on a button I get the selected Day in a label. I have a text box which is the target of the CalendarExtender <asp:TextBox ID="DateText" runat="server" ReadOnly="true" ></asp:TextBox> <ajaxToolkit:CalendarExtender ID="Calendar1" runat="server" TargetControlID="DateText" Format="MMMM d, yyyy" PopupPosition="Right" /> <asp:Button runat="server" ID="Button1" onclick="Button1_Click" /> In the Code Behind: On the first page load I set the date to Today. protected void Page_Load(object sender, EventArg
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.