I have a question regarding my ModalDialog.

There is an option called title:

options.title = 'Benutzer wählen';

Now if I display the dialog:

var dlg = SP.UI.ModalDialog.showModalDialog(options);

The ä from "wählen" doesn't get accepted by SharePoint, I also tried using:


But that didn't change anything. It was just standing there as plain text.

  • If it's an aspx page you are opening, set the title in the code behind of that page. – Paul Strupeikis Aug 11 '15 at 12:33
  • even if I'm creating the dialog in my code at runtime? – Luca Aug 11 '15 at 12:41
  • did you try encoding the text? encodeURIComponent("Benutzer wählen"), this will result in "Benutzer%20w%C3%A4hlen" – Marco Aug 11 '15 at 14:06
  • Not yet! This is a good idea. let me come back to you – Luca Aug 11 '15 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.