How can I write regional font in Enterprise Portal making Web Part in Visual Studio 2008 ? Labels and data from database (ex AxGridView) displayed correctly on EP html pages. But I don't want to use Ax2009 labels on Web Parts. When I wrote something in VisualStudio Web Part (ascx) polish font are displayed correctly in VisualStudio source view and design view, but after save and rebuild polish fonts displayed in EP incorrect.
In VisualStudio in Advances Save Options I set "unicode (UTF-8 with signature) - codepage 65001"But still all text writed in VisualStudio Web Part after rebuild are displayed incorrect in Enterprise Portal. What can I do to display polish font on Enterprise Portal ?
Regards
*This post is locked for comments
Hi,
I have no idea of Enterprise Portal programming and webparts. I only know it uses IIS and ASP.net. The browser only can see one document definition (UTF-8). This document definition hold for the complete generated html page for the browser. It might be that the Enterprice Portal is not generating UTF-8 format html. Since your webparts are 'children' of the EP, the children won't get UTF-8 although you see them correctly in View and Design View in VS.
Use view source in IE and look for the document format. If the document in runtime is not having UTF-8, then do a 'Save as' of the webpage to html. Then open with notepad and change the document to UTF-8. Save it, if you then open it and the webparts are correct, then my store above is happening. You need to find how you can control the document output of EP. In most Asp.net web applications this is the default.aspx document. There the document type is defined for all rendered pages/ controls etc. in IIS.
Hope this helps.
J.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,134 Super User 2024 Season 2
Martin Dráb 229,928 Most Valuable Professional
nmaenpaa 101,156