Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
for calender control i wrote this
XML
<asp:CalendarExtender runat="server"
   TargetControlID="txtDate"
   Format="MMMM d, yyyy"
   PopupButtonID="Image1">
           </asp:CalendarExtender>
but its not displaying calender where i did mistake...?
Posted
Comments
Pravin Patil, Mumbai 26-Jan-11 3:10am    
Are you getting any error after running this code..?
Rupa1 26-Jan-11 5:14am    
no error everything ok sir..............

Strange
The code you have written is all right. no problem with the code.
one reason can be that if the click event of the Image control is bubbled.Please verify if there is other client side functionality on the click of the image control?

For more details please visit
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Calendar/Calendar.aspx[^]


regards
Ahsan Sarfraz

Dont forget to mar as answered/Vote if the info was useful.Thanks
 
Share this answer
 
v2
Comments
Rupa1 26-Jan-11 2:58am    
sir if i place TargetControlID then it's not showing calenderextender in design page ...?sir now i gave reply from addcomment but how can i gave reply to u....?
Looking at just the tag formed, it looks ok. There must be some other issue.

Have a look here at the samples for CalendarExtendar:
Link 1[^]
Link 2[^]
Follow them and see.

Also, make sure the Ajax scripts are available for page, via ScriptManager on page. Javascript enabled.
 
Share this answer
 

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