iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
How do i create a new window on the client side from a page that does not have the desktop manager control. Or else how do i get access to the desktop manager from a totally diffrent page. If i cannot create a new window can i activate , show , and existing window that was created by the desktop maanger at design time. Attaching the sample that i am trying to run..
Thanks
Gaja
Sorry for the typo "Create window from a diffrent aspx page"
Hello,
You can’t create new window or shortcut on client side from another page. Because you can’t get the reference of the WebDesktopManager.
You should create new window or shortcut in the page that contains WebDesktopManager.
Therefore, to resolve your problem, we can trick it by using parent references. In this case, we need to call parent script from child.
Let me show me show you the example how to call parent script from child.
Here’s the snippet script from parent page below:
function CreateShortcutParent() { var dm = ISGetDesktopManager(); var shortcut1 = new WebDesktopShortcut(); shortcut1.Name = "WebDesktopShortcut1"; shortcut1.Text = "New Shortcut"; shortcut1.Image = "../Images/welcome-32.gif"; shortcut1.ToolTip = "Display Welcome Screen."; shortcut1.WindowName = "wndAboutDM"; dm.ShortcutIcons.Add(shortcut1); dm.ShortcutIconsVisible = true; shortcut1.Show(); }
And here’s snippet script in child page, to call parent script(CreateShortcutParent function) below:
function CreateShortcut() { window.parent.CreateShortcutParent(); }
I also attached my simple sample, in order to make you easier understand how to use the script.
Hope this help. Thank you.
Regards,
Hans.
This is perfect.. thank you very much ..
I’m glad to hear that my sample can resolve your problem.
If there is any question, please do not hesitate to ask us again.
I would be happy to help you.
Thank you.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname