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
I get an error and my app crashes when I do this.
private void ExecuteBarCodeLabels(object parameter)
{ IsBusy = true; SetUpBarCodeLabelsCommand.ProcessLabels(_batchId,"SLS01" ,(o, e) => { if (e.Object != null && e.Error == null) { IsBusy = false; NavigationCommands.Navigate.Execute(new Uri("http://abracadabrareports.easylib.co.uk/webform1.aspx", UriKind.Absolute),(UIElement)ISFocusManager.GetFocusedElement()); } else { IsBusy = false; Utils.LogError(string.Format("{0}\n\nError found in: {1}", e.Error != null ? e.Error.Message : "Unknown Error", "SetUpBarCodeLabelsCommand:ProcessLabels"), true); } }); }
It creashes on
NavigationCommands.Navigate.Execute(new Uri("http://abracadabrareports.easylib.co.uk/webform1.aspx", UriKind.Absolute),(UIElement)ISFocusManager.GetFocusedElement());
I am trying to run some db code (inserts) then navigate to an external (new) web page - can you please advise - thanks
I assume that you are using UXFrame and UXFrame.UriMapper to handle the navigation operation.
For your information, UXFrame is the core navigation component that acts as the container of navigable content and facilitates the navigation to pages. UXFrame supports navigation to pages in the local assembly or pages in external application package (.xap).
Instead of using the NavigationCommands, you can try to use Navigate method of HtmlWindow as shown in the following snippet code.
System.Windows.Browser.HtmlPage.Window.Navigate(new Uri("http://abracadabrareports.easylib.co.uk/webform1.aspx", UriKind.RelativeOrAbsolute), "_self");
Hope this helps.
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