Make calendar control popup when textbox gets focus

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Aug 2004
Posts: 24
Reputation: ray_broome is an unknown quantity at this point 
Solved Threads: 0
ray_broome ray_broome is offline Offline
Newbie Poster

Make calendar control popup when textbox gets focus

 
0
  #1
Nov 26th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 10
Reputation: vimalfor5 is an unknown quantity at this point 
Solved Threads: 1
vimalfor5 vimalfor5 is offline Offline
Newbie Poster

Re: Make calendar control popup when textbox gets focus

 
0
  #2
Nov 26th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Make calendar control popup when textbox gets focus

 
0
  #3
Nov 26th, 2008
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.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 24
Reputation: ray_broome is an unknown quantity at this point 
Solved Threads: 0
ray_broome ray_broome is offline Offline
Newbie Poster

Re: Make calendar control popup when textbox gets focus

 
0
  #4
Nov 26th, 2008
thanks for the help guys, lol i didn't realize it was so simple
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 24
Reputation: ray_broome is an unknown quantity at this point 
Solved Threads: 0
ray_broome ray_broome is offline Offline
Newbie Poster

Re: Make calendar control popup when textbox gets focus

 
0
  #5
Nov 26th, 2008
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
Last edited by ray_broome; Nov 26th, 2008 at 6:20 pm.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC