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 tried to follow the sample code (FaceBook style) for drawer navigation but was unable to bind the items in drawer. I dont know where it is failing. I've attached the sample solution for your reference. Can you please point me towards my mistake.
Thanks
Thank you for the sent sample. However, I was unable to have the sample run on my local end. It keeps showing malformed name unexpected error.
Meanwhile, I created a simple DrawerNavigation project by using Crosslight project wizard. The project has been tested on my local end to ensure that the drawer navigation works without any exception.
Please have the attached sample evaluated on your end and let me know if you have different result.
Hi Yudi
thanks for reply. I've attached the solution this time. Appreciate if you can look into my code and point my mistakes.
Call AddBinding() method in the constructor of DrawerItemListBindingProvider resolve the reported problem, unable to bind the items in drawer.
The snippet code below shows the changes in DrawerItemListBindingProvider.cs file.
public class DrawerItemListBindingProvider : BindingProvider { /// <summary> /// Initializes a new instance of the <see cref="DrawerItemListBindingProvider"/> class. /// </summary> public DrawerItemListBindingProvider() { var itemBindingDescription = new ItemBindingDescription { DetailMemberPath = "Title", NavigateMemberPath = "Target" }; this.AddBinding("TableView", BindableProperties.ItemsSourceProperty, "Items"); itemBindingDescription.AddBinding ("Text1", BindableProperties.TextProperty, "Title"); this.AddBinding("TableView", BindableProperties.ItemTemplateBindingProperty, itemBindingDescription, true); this.AddBinding("TableView", BindableProperties.SelectedItemProperty, "SelectedItem", BindingMode.TwoWay); } }
Please let us know if you have different result.
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