Buy Questpond's video subscriptions on
huge discount
.
Online: 3773
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
ASP.NET
>
Loading ...
Basicdatepicker setDateformat [Resolved]
Posted by
Jaypalsinh
under
ASP.NET
on 2/8/2011 |
Points: 10
| Views : 4936 | Status :
[Member]
| Replies : 7
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
hi to all,
I am using the BasicDatePicker control, and i set the date format as "dd/MM/yyyy".
but when i select the date from the datepicker control then it gives me the date 1-jan-01 12:00:00 AM.
so plz help to solve this kind of problem.
[Resolved]
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Naimishforu
on: 2/8/2011
[Member]
[MVP]
Bronze
|
Points: 50
0
Try changing your local region settings.. I think that's creating a problem as I had similar issue.
Thanks.
Jaypalsinh
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Jaypalsinh
on: 2/8/2011
[Member]
Starter
|
Points: 25
0
Thanks Naimishforu,
i changed local region settings..... but it can't work.
when i choose date from the control then day is changed into month
for example today's date is 08/02/11 when i click on the control then it's change into 02/08/11/
can u help me out from this problem.
Jaypalsinh
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Naimishforu
on: 2/8/2011
[Member]
[MVP]
Bronze
|
Points: 25
0
Hmm...can you please share the demo code if possible??
Jaypalsinh
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Naimishforu
on: 2/8/2011
[Member]
[MVP]
Bronze
|
Points: 25
0
Also check out this example, I'm not sure what's wrong you are doing but you can achieve the same functionality though code also...
http://www.basicdatepicker.com/documentation/BasicFrame.WebControls.BasicDatePicker.SelectedDate.html
Jaypalsinh
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Jaypalsinh
on: 2/8/2011
[Member]
Starter
|
Points: 25
0
Thanks Naimishforu,
The problem arise when i change the dateFormat property of the control.
when i set this property to "dd-MM-yyyy" then it's work.
but i want to "dd/MM/yyyy" format. this format is not worked. then it takes 01-jan-01 date.
i wrote the simple code but try to set dateFormat property to "dd/MM/yyyy" this is not worked.
now u know what is my problem.
Jaypalsinh
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Naimishforu
on: 2/8/2011
[Member]
[MVP]
Bronze
|
Points: 25
0
Yes, I got your problem. Appreciate if you can share a demo code or just upload it somewhere and share the link so that we can look into the same.
Thanks
Jaypalsinh
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Jaypalsinh
on: 2/8/2011
[Member]
Starter
|
Points: 25
0
here are the demo code.
http://www.4shared.com/file/5qj65h92/Default2.html
http://www.4shared.com/file/Jnhfy3VU/Default2aspx.html
Jaypalsinh
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...