Hi,
I want to change silverlight 4 datepicker format as 'dd/MM/yyyy' in one page only. I tried below code
Thread.CurrentThread.CurrentCulture = (CultureInfo)Thread.CurrentThread.CurrentCulture.Clone();
Thread.CurrentThread.CurrentCulture = (CultureInfo)Thread.CurrentThread.CurrentCulture.Clone();
Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern = "dd/MM/yyyy";
But It changes format in whole silverlight application. I want datepicker change format in one silverlight page only.
Please give me solution.
Thanks.
Regards,
Suchita Gorivale
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Piyush PansuriyaPosted Nov 5, 2015, 5:11 AM