943,723 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Marked Solved
  • Views: 7195
  • ASP.NET RSS
Nov 26th, 2008
0

Make calendar control popup when textbox gets focus

Expand Post »
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.
Reputation Points: 10
Solved Threads: 0
Light Poster
ray_broome is offline Offline
25 posts
since Aug 2004
Nov 26th, 2008
0

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
Reputation Points: 10
Solved Threads: 1
Newbie Poster
vimalfor5 is offline Offline
10 posts
since Sep 2007
Nov 26th, 2008
0

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.
Featured Poster
Reputation Points: 854
Solved Threads: 127
Banned
serkan sendur is offline Offline
2,057 posts
since Jan 2008
Nov 26th, 2008
0

Re: Make calendar control popup when textbox gets focus

thanks for the help guys, lol i didn't realize it was so simple
Reputation Points: 10
Solved Threads: 0
Light Poster
ray_broome is offline Offline
25 posts
since Aug 2004
Nov 26th, 2008
0

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
Last edited by ray_broome; Nov 26th, 2008 at 6:20 pm.
Reputation Points: 10
Solved Threads: 0
Light Poster
ray_broome is offline Offline
25 posts
since Aug 2004

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Dynamically Adding User Controls at Runtime
Next Thread in ASP.NET Forum Timeline: Pupcontrolextender for login





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC