Report Viewer Web Control -
01-31-2006
, 10:08 AM
I am trying to internationalize the dates displayed in the web report viewer
control for asp.net 2.0. Control is being used in Local Mode
(localreportmode).
I use the following lines on the web form to use the browser's default
language setting to set up the page and it works fine. However the results
in the report viewer controls are not affected.
Thread.CurrentThread.CurrentCulture =
CultureInfo.CreateSpecificCulture(Request.UserLang uages(0))
Thread.CurrentThread.CurrentUICulture =
CultureInfo.CreateSpecificCulture(Request.UserLang uages(0))
I need the dates to display based on browser language selected which works
fine on the web form itself (in text controls and on the calendar) but not
inside of the report viewer control. I have tried setting at the web.config
level and the page directive level as well, all to no avail. Any help would
be appreciated.
--
Thanks,
Paul Russo |