﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - How to Use EditorType.Selection and NavigationTargetIdentifier to Enable Searching?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-EditorTypeSelection-and-NavigationTargetIdentifier-to-Enable-Searching/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>How to Use EditorType.Selection and NavigationTargetIdentifier to Enable Searching?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-EditorTypeSelection-and-NavigationTargetIdentifier-to-Enable-Searching/</link><pubDate>Tue, 18 Aug 2015 04:40:17 GMT</pubDate><dc:creator>Arief</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;br&gt;&lt;br&gt;Android have different implementation and simple workaround would not work, but i already inform this to our developer under CROS-888. As usual please do ask me about the progress of this issue.&lt;br&gt;&lt;br&gt;Best Regards,&lt;br&gt;Arief&lt;/p&gt;</description></item><item><title>How to Use EditorType.Selection and NavigationTargetIdentifier to Enable Searching?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-EditorTypeSelection-and-NavigationTargetIdentifier-to-Enable-Searching/</link><pubDate>Fri, 14 Aug 2015 02:31:56 GMT</pubDate><dc:creator>jtungol@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;We didn't seem to get a sample of this for Android. If you think about it... how is this implemented in a cross-platform manner when the NavigationTargetIdentifier used in the metadata is of iOS? Please advise.&lt;/p&gt;</description></item><item><title>How to Use EditorType.Selection and NavigationTargetIdentifier to Enable Searching?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-EditorTypeSelection-and-NavigationTargetIdentifier-to-Enable-Searching/</link><pubDate>Wed, 21 May 2014 21:13:11 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>Great! We'll give it a try. Thanks!</description></item><item><title>How to Use EditorType.Selection and NavigationTargetIdentifier to Enable Searching?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-EditorTypeSelection-and-NavigationTargetIdentifier-to-Enable-Searching/</link><pubDate>Wed, 21 May 2014 06:26:47 GMT</pubDate><dc:creator>Jack</dc:creator><description>&lt;p&gt;Hi Domingo.&lt;/p&gt;&lt;p&gt;To implement searching, you need to provide a custom view controller for the selection list.&lt;/p&gt;&lt;pre&gt;[ImportBinding(typeof(CategoryListBindingProvider))][RegisterNavigation(DeviceKind.Phone)]&lt;br&gt;[Register("CategoryListViewController")]&lt;br&gt;public partial class CategoryListViewContoller : UITableViewController&amp;lt;CategoryListViewModel&amp;gt;
{
    public CategoryListViewContoller() : base("CategoryListView", null)
    {

    }
		
    protected override void InitializeView()
    {
        base.InitializeView();

        this.RegisterViewIdentifier("SearchTableView", this.SearchDisplayController.SearchResultsTableView);
    }

    public override bool AllowSearching
    {
        get { return true; }
    }

    public override ChoiceInputMode ChoiceInputMode
    {
        get { return ChoiceInputMode.Single; }
    }

    public override TableViewInteraction InteractionMode
    {
        get { return TableViewInteraction.ChoiceInput; }
    }	
}&lt;/pre&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;And don't forget to specify some properties for SelectionInput attribute in your form metadata, such as ReuseExistingViewContext and NavigationTargetIdentifier. It will ensure the form builder to use your view controller, instead the default one.&lt;br&gt;&lt;/p&gt;&lt;pre&gt;[SelectionInput(SelectionMode.Single, DisplayMemberPath = "Name", ListSourceType = typeof(CategoryListViewModel), ReuseExistingViewContext = true, NavigationTargetIdentifier="CategoryListViewController")]
public static string Category;&lt;/pre&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Hope this helps. You also can get the sample for this scenario from here: &lt;a href="http://git.intersoftpt.com/projects/CROS-SUPP/repos/enable-searching-in-selection-form/browse" target="_blank"&gt;http://git.intersoftpt.com/projects/CROS-SUPP/repos/enable-searching-in-selection-form/browse&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Feel free to discuss it further if you have any other thought.&lt;br&gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
Jack</description></item><item><title>How to Use EditorType.Selection and NavigationTargetIdentifier to Enable Searching?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-EditorTypeSelection-and-NavigationTargetIdentifier-to-Enable-Searching/</link><pubDate>Fri, 16 May 2014 17:08:42 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;As the subject states, we need to enable Searching on a selection of a Category. Considering a list of categories can be quite long, how can we enable searching to limit the list?&lt;/p&gt;</description></item></channel></rss>