Hi! Does anyone know any good asp.net Date picker?..thats free of use and whould match with the color of gray? Whould be great if it also has a Time picker aswell...but guess I can build that myself if it doesnt...
I have been looking around the web like a mad-man and have found some good controls...but none of em matches my needs...so whould be more then happy if you had any ideas where I could find one..
in my current project we use the ASP.NET AJAX Control Toolkit calendar. It fits our needs and I have restyled all colors with CSS. Take
a look at the theming support on this page.
Just a tip: you stated that you searched the internet as a mad-man and found controls which didn't suit you. It's just too bad that you didn't mention which ones and why they didn't suit you as now people who want to help you, like me, don't have a clue
what you already found or tried.
Grz, Kris.
Read my blog | Twitter Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
I did kind of want to avoid useing AJAX..but I guess I could take a look at it...
Yeah sorry about that...but my description of the control Im looking for didnt fit any of the controls that I found...for instance I looked at GMDatePicker and EclipseDatePicker and a few more....but either they didnt work in my project..or there style didnt
match..and the source code where "closed"...
I have noe checked out the calendarExtender...but how do i create one dynamically? Im trying to create it as just an object and then place the object in a tabledata...but once I run the site the whole site seems to freeze...
any ideas?
And the only kind of installation for AJAX I did were to download the ,dll and add it to the bin folder of my project....
you need to place scriptmanager control on your page. Also when you instantiate the calendar control you must also set the TargetControlID. Perhaps you can show your code on what's going wrong?
Ok..well this might be a stupied question..but im not so very familyar with AJAX yet...but the TargetControlID...should i set that to target a normal asp.net calendar..or what should it target?
You can create a composite control which has the calendar and textbox in one with the correct id's set and the targetcontrolid. This makes your code easier to manage and to write as then you can instantiate that one custom control instead of having to instantiate
a lot of control each time.
Grz, Kris.
Read my blog | Twitter Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
and then I have added the TextBox into a TableDate which dispalys the TextBox just fine...but once I focus the TextBox it for some reason just wont show the calendar...and at the same page I do have an UpdatePanel which works just fine, so the ScriptManager
should be implemented correctly aswell....
any ideas?..sorry for beeing so "noobish" of me...but Im not used to AJAX programing yet...and definetly not the dynamical way...
Inx
Member
53 Points
217 Posts
A good free asp.net Date picker (and time picker)?
Jun 07, 2009 11:25 AM|LINK
Hi! Does anyone know any good asp.net Date picker?..thats free of use and whould match with the color of gray? Whould be great if it also has a Time picker aswell...but guess I can build that myself if it doesnt...
I have been looking around the web like a mad-man and have found some good controls...but none of em matches my needs...so whould be more then happy if you had any ideas where I could find one..
Huge thanks in advance![:)]
XIII
All-Star
182789 Points
23485 Posts
ASPInsiders
Moderator
MVP
Re: A good free asp.net Date picker (and time picker)?
Jun 07, 2009 11:53 AM|LINK
Hi,
in my current project we use the ASP.NET AJAX Control Toolkit calendar. It fits our needs and I have restyled all colors with CSS. Take a look at the theming support on this page.
Just a tip: you stated that you searched the internet as a mad-man and found controls which didn't suit you. It's just too bad that you didn't mention which ones and why they didn't suit you as now people who want to help you, like me, don't have a clue what you already found or tried.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
Inx
Member
53 Points
217 Posts
Re: A good free asp.net Date picker (and time picker)?
Jun 07, 2009 12:27 PM|LINK
I did kind of want to avoid useing AJAX..but I guess I could take a look at it...
Yeah sorry about that...but my description of the control Im looking for didnt fit any of the controls that I found...for instance I looked at GMDatePicker and EclipseDatePicker and a few more....but either they didnt work in my project..or there style didnt match..and the source code where "closed"...
Thanks!
Asim Afzal
Participant
943 Points
191 Posts
Re: A good free asp.net Date picker (and time picker)?
Jun 07, 2009 12:30 PM|LINK
Check the out
http://freeajaxscripts.net/
Asim Afzal Chaudhry
MCT/MCPD/MCTS/MCAD/MCDBA/MCSD/MCP
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Inx
Member
53 Points
217 Posts
Re: A good free asp.net Date picker (and time picker)?
Jun 07, 2009 01:01 PM|LINK
I have noe checked out the calendarExtender...but how do i create one dynamically? Im trying to create it as just an object and then place the object in a tabledata...but once I run the site the whole site seems to freeze...
any ideas?
And the only kind of installation for AJAX I did were to download the ,dll and add it to the bin folder of my project....
How shall I procced?[:O]
XIII
All-Star
182789 Points
23485 Posts
ASPInsiders
Moderator
MVP
Re: A good free asp.net Date picker (and time picker)?
Jun 07, 2009 01:39 PM|LINK
Hi,
you need to place scriptmanager control on your page. Also when you instantiate the calendar control you must also set the TargetControlID. Perhaps you can show your code on what's going wrong?
Another option would be to use one based on jQuery like this one: http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
Inx
Member
53 Points
217 Posts
Re: A good free asp.net Date picker (and time picker)?
Jun 07, 2009 04:50 PM|LINK
Ok..well this might be a stupied question..but im not so very familyar with AJAX yet...but the TargetControlID...should i set that to target a normal asp.net calendar..or what should it target?
XIII
All-Star
182789 Points
23485 Posts
ASPInsiders
Moderator
MVP
Re: A good free asp.net Date picker (and time picker)?
Jun 07, 2009 05:03 PM|LINK
Hi,
you must set it to a Textbox control (which you probably also have to instantiate dynamically depending on your needs). Take a look at this documentation: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx and especially take a look at the Properties section.
You can create a composite control which has the calendar and textbox in one with the correct id's set and the targetcontrolid. This makes your code easier to manage and to write as then you can instantiate that one custom control instead of having to instantiate a lot of control each time.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
Inx
Member
53 Points
217 Posts
Re: A good free asp.net Date picker (and time picker)?
Jun 07, 2009 05:12 PM|LINK
yeah thanks [:)]
I will take a closer look at this soon and get back here to report how it all went...
Inx
Member
53 Points
217 Posts
Re: A good free asp.net Date picker (and time picker)?
Jun 07, 2009 05:51 PM|LINK
well..I have done the following now:
Declared a TextBox and an AjaxControlToolkit.CalendarExtender
and then Im useing the following code:
(PickDateStartVisible, TextBox)
(pickDateStartVisibleCalendarExt, AjaxControlToolkit.CalendarExtender)
pickDateStartVisible.ID = "pickDateStart";
pickDateStartVisibleCalendarExt.TargetControlID = pickDateStartVisible.UniqueID;
and then I have added the TextBox into a TableDate which dispalys the TextBox just fine...but once I focus the TextBox it for some reason just wont show the calendar...and at the same page I do have an UpdatePanel which works just fine, so the ScriptManager should be implemented correctly aswell....
any ideas?..sorry for beeing so "noobish" of me...but Im not used to AJAX programing yet...and definetly not the dynamical way...