Click here to Skip to main content
15,908,768 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All Friends,


i am using ajaxtoolkit calender extender for date selection. here is code :-
C#
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:TextBox ID="txtodt" CssClass="input-short" runat="server" Width="150px"/>
<asp:CalendarExtender ID="txtodt_CalendarExtender" runat="server" TargetControlID="txtodt" PopupButtonID="Imgodt" Enabled="True" /> 
<asp:ImageButton ID="Imgodt" runat="server" ImageUrl="images/icon_datetime.png" AlternateText="Click to show calendar" Height="20px" Width="20px" />


My Problem is that when i Click the Image button calenderextender popup but its not display all the day .i just see only Sunday to Thursday. there is no day for friday and saturday . Where i Am Wrong....!!!!
Posted

1 solution

I suggest you create a Div with position=relative and put Calendar with TextBox into this div.
HTML
<div style="position:relative">
</div>

Otherwise, try updating your AjaxControlToolkit, it's also because of corrupted ddl.


--Amit
 
Share this answer
 
Comments
Yatin chauhan 29-Aug-12 8:17am    
I have already write in div tag. but still the same problem...!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900