Make calendar control popup when textbox gets focus
Please support our ASP.NET advertiser: DiscountASP.NET – 3 Months Free on ASP.NET 3.5/2.0 Web Hosting
Thread Solved
![]() |
•
•
Posts: 24
Reputation:
Solved Threads: 0
Hi,
i'm new to ASP.NET, been using PHP for a while but now getting into ASP.NET/C# and was wondering how i would go about accomplishing the task in the title. I'm still an ASP noob right now so any suggestions/help is welcome. To do something like this normally I would set onfocus on the textbox to show the calendar (i would probably get a pre-done css/js calendar from the web)
But since the calendar control is a server control i don't think that way will work and from what i've been reading so far i think i may have to create a custom control/extend the calendar control. Am I on the right path or what?
Any help/suggestions are welcome.
i'm new to ASP.NET, been using PHP for a while but now getting into ASP.NET/C# and was wondering how i would go about accomplishing the task in the title. I'm still an ASP noob right now so any suggestions/help is welcome. To do something like this normally I would set onfocus on the textbox to show the calendar (i would probably get a pre-done css/js calendar from the web)
But since the calendar control is a server control i don't think that way will work and from what i've been reading so far i think i may have to create a custom control/extend the calendar control. Am I on the right path or what?
Any help/suggestions are welcome.
•
•
Posts: 10
Reputation:
Solved Threads: 1
Hi,
If you are looking for feature like Ajax, i hope the following link will help you
http://www.asp.net/ajax/ajaxcontrolt.../Calendar.aspx
Vimal
If you are looking for feature like Ajax, i hope the following link will help you
http://www.asp.net/ajax/ajaxcontrolt.../Calendar.aspx
Vimal
yeah you need to install ajax control toolkit, then you can easily integrate server side and client side functionality with the calendar found in the ajax control toolkit. you dont need to create custom control for this, it is already made ready for you.
Serkan Sendur
All my helpful posts are dedicated to Marty Friedman, especially for his song Forbidden City.
All my helpful posts are dedicated to Marty Friedman, especially for his song Forbidden City.
•
•
Posts: 24
Reputation:
Solved Threads: 0
okay i set up the ajax control toolkit but i don't see the option to use the template under 'my templates'.
i'm using vwd 2008, any thoughts?
EDIT: never mind, it works regardless. After doing some reading i think there's some differences between vwd 2005 and 2008 and that might be one, it's working though, thanks for the help again
i'm using vwd 2008, any thoughts?
EDIT: never mind, it works regardless. After doing some reading i think there's some differences between vwd 2005 and 2008 and that might be one, it's working though, thanks for the help again
Last edited by ray_broome : Nov 26th, 2008 at 5:20 pm.
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: Dynamically Adding User Controls at Runtime
- Next Thread: Pupcontrolextender for login
•
•
•
•
Views: 1896 | Replies: 4 | Currently Viewing: 1 (0 members and 1 guests)






Linear Mode