web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Ax2009 EP - charset problem in VisualStudio

(0) ShareShare
ReportReport
Posted on by 115

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

I have the same question (0)
  • user5555 Profile Picture
    7,437 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans