Hey guys,
first of all, greate product. I realy like it.
But I've got some problems, and can't find any solution here or anywhere in www.
1. How can I prevent the designer to change my browsers title? I want to keep my own
2. We are loading the Designer in an sort of internal windows. When the user closed this internal window without saving, the designer doesn't get the exit event and won't show the "Are you sure ... bla bla" Dialog. So far so good, I will do it by my own. But when the user closes the browser maybee 2 minutes later on an other site, the event is fired and the dialog comes up. How can i prevent this? Is is posible to destroy all events from the designer when my window closes?
Greets from germany
Malte
Problems with SinglePage Application
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Problems with SinglePage Application
Hello,
> 1. How can I prevent the designer to change my browsers title? I want to keep my own
You can use the following option:
> 2. We are loading the Designer in an sort of internal windows...
You can use the following code:
Thank you.
> 1. How can I prevent the designer to change my browsers title? I want to keep my own
You can use the following option:
Code: Select all
var options = new Stimulsoft.Designer.StiDesignerOptions();
options.appearance.allowChangeWindowTitle = false;
var designer = new Stimulsoft.Designer.StiDesigner(options, "StiDesigner", false);
designer.renderHtml("content");
You can use the following code:
Code: Select all
Stimulsoft.Designer.StiDesigner(options, "StiDesigner", false);
...
designer.jsObject.options.ignoreBeforeUnload = true;