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
Hello,
The .Show() and ActivateWindow are not necessary when you already set the properties.
You can try to set only the following:
axWindow.IsClientVisible = true;axWindow.IsActive = true;
Hope this helps,Jimmy
Hi Sebastien,
Although your workaround may work in the current state, you lose the benefits of having independent type that created based on the application package. For instance, the GetCallingAssembly may return an unexpected assembly when your application grows more complex.
Hth,Jimmy
Hi Andre,
You can use the FindName or FindNameDeep method on the UXNavigationBar to find a specific name of the button inside the AdditionalCommandTemplate.
However, this should be a rare case in Silverlight since UI elements should be "discoupled" in most chances. A number of UI scenarios can now be elegantly achieved through commanding and MVVM. Example, if a button should be disabled in a certain case, you use a Command in the button and write the CanExecute logic for the button.
I supposed that you have created the ApplicationPackage for the Silverlight project you wish to load on demand.
In this case, make sure the EntryPointAssembly or the MainAssembly attribute in the SAFMetaData.xml that resides in your "external" Silverlight project has been properly set.
The type that you passed to the CreateInstance should be the FQDN of the class type (i.e., SilverlightApp1.Class1), and this class should be found in the assembly you specified in either the EntryPointAssembly/MainAssembly described above.
For more information about ApplicationPackage, please refer to ClientUI Application Framework Overview.
Hi Mark,
Although the above approach may work, it's not a recommended design pattern because you're tightly coupled to a specific UI.
The best way to handle the communication is through the ViewModel. You can have the GlassLabel bound to a property in the ViewModel, let's say "{Binding Title}".
Later, in your child page (loaded inside the UXFrame), you can access the ViewModel through the DataContext and change the Title as necessary in the ViewModel.
For example, setting viewModel.Title = "New Title" in the ViewModel would automatically update the View elements bound to it.
There are a number of ways to do this, you can use either the window or hidden panel approach, and "still" enable users to use "back" button to go back. This is done through "child" navigation where you actually has a UXFrame inside your page. You can place the frame inside a window, hidden panel, a content transition, or any content controls.
In fact, our ClientUI live example uses the similar technique to display the selected sample in the window (while still preserving the navigation functionality).
Hi Andrzej,
Thank you for your post.
Could you please open a new thread for your recent question? This allows us to track solutions per opened threads.
Thanks,Jimmy
The default template for WPF is missing the [assembly: Guid( ... )] attribute in the AssemblyInfo.cs, which is required by the ClientUI runtime licensing. We added this attribute by default in both our SL & WPF templates to ensure the licensing to work properly.
You can simply add that attribute (ensure you put in a unique GUID) to your existing application, recompile and re-run the runtime licensing.
Also, it's recommended that you fill-in the basic properties in the AssemblyInfo.cs to ensure the identity of the application.
Ross, thanks for the update.
Hello Andre,
Yes, you can select a WPF executable file by choosing it from the file type dropdown in the Select File dialog box.
See the illustration below.
Also, do you create the WPF application from Intersoft's WPF templates?
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