Quantcast
Viewing all articles
Browse latest Browse all 3636

Changing the Currency Symbol at run time via Asp.net

Hello,

 

I am trying to change the currency symbol to user specific rather than System Region Locale of the server at the time of the report generation.

 

My scenario is that we don't have to view the report, but directly export the report and provide the option to user if they wish to download it or not. Now the issue is I have a situation where I have to generate the same report with two different options one for US and another for UK. The calculations are taken care of but I am stuck with the symbol not showing correct with each report (both of the reports are showing Server Default).

 

I did manage to find a work around which work fine in the designer, but as soon as the logic is implemented on the test environment there is no effect on the report. The work around I manged is that I am passing the symbol as parameter to the report and assigning that parameter value to the Custom function return value of the currency field Symbol in the Format object of the Currency Field Object.

 

I am using CR for VS 2010.

 

Any help would be appreciated.

 

Kind regards,

Darshan.


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>