Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have an issue with spgridview filters, in my grid view i have column that contains start date and i have to display date in "yyyy-MMM-dd" format, i am able to do this with the custom itemtemplate but it still showing date in filters as "mm/dd/yyyy" format.

Any idea how to achieve this, its very urgent for me.

waiting for your response !!

THANKS, CHAMPION

share|improve this question

1 Answer 1

I remember I also had this problem a while ago. And if I remember correctly, the only way to change the format of the date in the filter is to change the regional settings of the site.

Go to Site Actions -> Site Settings and under Site Administration you will find Regional Settings. Here you can change under Locale how your date is formatted. For example, to achieve YYYY.MM.DD you can choose the Hungarian locale. But be careful as this change will affect other aspects of your site as well.

I hope this helped you a little.

share|improve this answer
    
Hi Norbert, Thanks for your response, as we don't have the access to the production site and we don't know what will be the impact of this change, so it doesn't seem feasible to me. Any other option which can be implemented in webpart. Thanks CHAMPION –  Champion Jun 7 '12 at 5:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.