I'm using VS 2008. I have SP1 and I'm using .NET 3.5.
I just started creating a new web project. I went to add calendar extender to a text box but noticed that little button with '>' was missing so I couldn't get to the add extender option. I then noticed the AJAX Control Toolkit tab was missing from the toolbox. I then manually added the AJAX Control Toolkit tab back and added the control back into the tab. After that I got the '>' button back and was able to add the calendar extender. However, it's not working right. When the calendar pops up it's about 1/2 below the text box instead of right underneath. Worse yet, if I open up the calendar control a second time the controls and stuff in it are all messed up and rearranged. Also, the content of the table cell the stuff is in disappears while the calendar is displayed.
I loaded up a previous project and everything seems to be working there. So this must be with new projects.
* TargetControlID - The ID of the TextBox to extend with the calendar.
* CssClass - Name of the CSS class used to style the calendar. See the Calendar Theming section for more information.
* Format - Format string used to display the selected date.
* PopupButtonID - The ID of a control to show the calendar popup when clicked. If this value is not set, the calendar will pop up when the textbox receives focus.
* PopupPosition - Indicates where the calendar popup should appear at the BottomLeft(default), BottomRight, TopLeft, TopRight, Left or Right of the TextBox.
* SelectedDate - Indicates the date the Calendar extender is initialized with.
Oh, sorry. I forget about the inline style properties. That relative property on that one td shouldn've have been there. Hmm, I wonder how it got there...Anyway, I removed it and it's working fine now.
That's exactly the one that caught my eye right away. CSS was invented to replace the lack of table's abilities to truly stylize a page. Many CSS attributes, such as position, do not render tables correctly.
By the way...thanks for the rating!
If the post was helpful...Rate it! Remember to use [code] or [php] tags.