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
Hi,
I am trying to Close a window via code. In the code behine of the UXPage I have the following code:
var window =(UXWindow) this.GetWindowHost(); window.Hide();
This however throws an exception
((System.Exception)(ex.InnerException)).StackTrace
at Intersoft.Client.UI.Aqua.UXDock.UXDock.GetContainerFromIndex(Int32 index) at Intersoft.Client.UI.Aqua.UXDock.UXDesktopDock.FindButton(Object targetContext, SearchFlags searchButtonFlags) at Intersoft.Client.UI.Aqua.UXDock.UXDesktopDock.(Object sender, WindowEventArgs e)
I have tried using window.Close(); but still throws the exception. If I put a catch around this it. The error is not thrown and the window closes.
The 2nd problem is trying to programatically open a window without clicking of the navigation docking component.
Please could you also update when help file will be available
Kind Regards
Hi Maxwell,
Please try the following code
uXWindow1.Close();
Could you please provide further information regarding the 2nd problem?
We are aware of your needs on the documentation file, we are still processing the documentation for the better output.
Thank you for your concern and patience.
Have a nice weekend.
Best regards,
Niven Prasetya
Please see the comment above. I had already tried uXWindow1.Close(); and still got the exception
The second problem is straight forward.
1) I have created a UXPage.
2) I have created a Naviagtion Component
I can open the window by clicking on the navigation (FishExe) control but how do I open the window via code.
Have you include the namespace?
Please kindly explain me which navigation did you open? Is it from template or UXNavigationWindow or UXNavigationBar?
Have you set the IsClientVisible="True"? or if you want from server side, please use the code below.
uxWindow1.Show();
Hope this can help.
Max, did you setup the buttons in the DesktopDock using datasource?
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