RSS Forums RSS

Make calendar control popup when textbox gets focus

Thread Solved
Reply
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

  #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.
AddThis Social Bookmark Button
Reply With Quote  
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

  #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  
Posts: 1,413
Reputation: serkan sendur is an unknown quantity at this point 
Solved Threads: 69
Featured Poster
serkan sendur serkan sendur is offline Offline
Nearly a Posting Virtuoso

Re: Make calendar control popup when textbox gets focus

  #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.
Serkan Sendur
All my helpful posts are dedicated to Marty Friedman, especially for his song Forbidden City.
Reply With Quote  
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

  #4  
Nov 26th, 2008
thanks for the help guys, lol i didn't realize it was so simple
Reply With Quote  
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

  #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 5:20 pm.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Other Threads in the ASP.NET Forum
Views: 1896 | Replies: 4 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:21 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC