DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ASP.NET (http://www.daniweb.com/forums/forum18.html)
-   -   Make calendar control popup when textbox gets focus (http://www.daniweb.com/forums/thread159607.html)

ray_broome Nov 26th, 2008 2:00 pm
Make calendar control popup when textbox gets focus
 
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.

vimalfor5 Nov 26th, 2008 2:09 pm
Re: Make calendar control popup when textbox gets focus
 
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

serkan sendur Nov 26th, 2008 3:03 pm
Re: Make calendar control popup when textbox gets focus
 
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.

ray_broome Nov 26th, 2008 3:57 pm
Re: Make calendar control popup when textbox gets focus
 
thanks for the help guys, lol i didn't realize it was so simple :)

ray_broome Nov 26th, 2008 5:51 pm
Re: Make calendar control popup when textbox gets focus
 
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


All times are GMT -4. The time now is 12:42 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC