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'm currently evaluating the ClientUI suite and have a question about UXListBox, in the example ClientUI_Business_Application on the Customers page there is a UXListBox with a datatemplate that has a UXNavigationButton, when a user clicks on the button the details are displayed to the right of the listbox. I would like to do something similar, I would like to populate the list with two colums of data, when the user clicks on one of the listbox items, the details would be displayed, I don't want to use a UXNavigationButton. How can I get this done ?
I'm thinking that the listbox SelectionChanged event might be one way but I don't know how to get the same functionalty that UXNavigationButton provides with in the event.
IMO, you could use navigation command for such scenario. We have discuss about navigation command in our docs on this article and a walkthrough of UXListBox which implements command also available here.
I suggest you try command for navigation, as detailed here. You could also read about commanding in more detail here.
If all else fails, you could invoke the Navigate method in the UXFrame which hold the detail page. In the ClientUI_Business_Application Customer page, the snippet to navigate to CustomerDetail page DIEGO would be:
ContactFrame.Navigate(new Uri("/Customers/DIEGO", UriKind.RelativeOrAbsolute));
Glenn
I tried your suggestion of invoking the Navigate method in the UXFrame, but that requires that the call be made in the code behind of the form. I used the SelectedItem event, but in doing so the code that I have in the viewmodel never gets executed. Does the UXListbox keep track of the current item internally somehow ? That would allow me to call the Navigate method with the key of the current item from the code behind.
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