I am trying to use the CalendarExtender Control in my existing VB.net web application .
Downloaded the latest version of Ajax toolkit and included in the project.
I am using the control inside a Table as below..
My page is too long to fit in a screen. so this date field is at the bottom of the page. So if i scroll the page and selects this calender control,
the postion is lost. popup shows somewhere else. Also this control goes under the ListBoxes which is already there in the page.
What should i do to make the popup calender appear on the relative postion of the TargetControl and on top of other controls ?
In the documentation it says popupup should appear with the targetcontrol ..
<TD>
<asp:textboxid="_dt"runat="server"cssclass="data"columns="16"maxlength="16"></asp:textbox>
<asp:labelid="Label70"runat="server"cssclass="label3"text="(dd-mon-yyyy hhmm)"></asp:label>
<asp:ImageButtonid="btn_dt"Runat="server"ImageUrl="calendar.jpg"CausesValidation=false></asp:ImageButton>
<ajaxToolkit:CalendarExtenderID="calendarButtonExtender"runat="server"TargetControlID="_dt"PopupButtonID="btn_dt"Format="dd-MMM-yyyy hhmm"/>
</TD>
THanks
-Roopa
Hi Roopa1,
roopa1:
Also this control goes under the ListBoxes which is already there in the page.
To resolve this , you should reference to thez-index.
roopa1:
Showing position issue.
I have tested it with a your code and add blank <tr> above the CalendarExtender. And it works fine on IE7 and Firefox. So would you please provide a simple sample here?
Hope this help.
Best regards,
Jonathan