suchita gorivale

suchita gorivale

  • 1.9k
  • 3
  • 1.5k

Change Silverlight Datepicker Format as dd/MM/yyyy

Nov 2 2015 12:16 AM
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 
 
 
 

Answers (1)