How does DatePickerControl show format datetime dd/MM/yyyy?

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
5/26/2011 4:30:24 PM
Gravatar
Total Posts 9

How does DatePickerControl show format datetime dd/MM/yyyy?

Hi Jo,

I see show of DatePickerControl  format datetime is MM/dd/yyyy (05/31/2011 04:27 am).

I want show of DatePickerControl format datetime is dd/MM/yyyy (31/05/2011 04:27 am).

How do I do?

Please help me.

5/26/2011 6:19:11 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: How does DatePickerControl show format datetime dd/MM/yyyy?

Hi there. As I recall, Joe recently switched to a new date picker control in order to ensure that it will follow the appropriate date localization formats. If you set your site's localization to a locale that uses DD/MM/YYYY date format, it should automatically use that in the date picker. For more information, you can take a look at the localization section of the documentation.

This thread may be helpful as well.

Hope that helps,

Jamie

5/27/2011 2:39:13 AM
Gravatar
Total Posts 9

Re: How does DatePickerControl show format datetime dd/MM/yyyy?

Thanks you so much.

I have changed culture to "vi-VN" and  I have fixed DateTimePicker date format to dd/MM/yyyyy sucessfully.

I have errors with visual studio 2010.

My mojoportal version is 2.3.6.6 with .net 4.0

I opened source code project by visual studio 2010, then I opened Default.aspx file in design mode. I encountered the following error

 Error Creating Control - pageEditContent Object reference not set to an instance of an object

 Error Creating Control - leftContent Object reference not set to an instance of an object

 Error Creating Control - mainContent Object reference not set to an instance of an object

 Error Creating Control - rightContent Object reference not set to an instance of an object

  details follow the link below

http://tuananh.dyndns-home.com/mojoportal-visual-studio-2010.aspx

I have checked Layout.master, Default.aspx carefully. I don't fixed this error.

Please help me

You must sign in to post in the forums. This thread is closed to new posts.