﻿<?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 Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</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 Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</link><pubDate>Sat, 24 May 2014 04:38:27 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Awesome! Thanks Guys!&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</link><pubDate>Sat, 24 May 2014 03:39:28 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Domingo,&lt;/p&gt;&lt;p&gt;Apparently it's not an issue with the Crosslight product bits. But you'll need to set the StaysModel property of the NavigationResult to true.&lt;/p&gt;&lt;p&gt;In line 55 of CategoryListViewModel.cs, change the code to:&lt;/p&gt;&lt;pre&gt;		
this.NavigationService.Close(new NavigationResult(NavigationResultAction.Done) &lt;br&gt;                                 { &lt;b&gt;StaysModal = true &lt;/b&gt;} );&lt;br&gt;&amp;nbsp;&lt;/pre&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;StaysModal instructs the navigation service to keep the modal context if it's currently in modal state.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Please let me know the result in your end.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Hope this helps!&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</link><pubDate>Fri, 23 May 2014 22:40:07 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Thanks for pointing out the culprit. It makes sense now as it appears we both are looking at different samples/scenarios.&lt;/p&gt;&lt;p&gt;The selection in custom ViewController case might be still an issue which is separate from the previous one. We are working on a fix shortly. You will be informed when a new nightly build is available.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</link><pubDate>Fri, 23 May 2014 16:40:45 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Okay, it bothered me to see that even after build 52, it wasn't working. Now, after looking at the form's metadata and comparing it to other MyInventory samples, a culprit was identified. This selection category has a customized view controller; however, what triggered the abnormality on its behaviour is the "&lt;b style="font-family: 'Courier New', Tahoma; font-size: 9pt;"&gt;ReuseExistingViewContext = true&lt;/b&gt;&lt;span style="font-size: 10pt;"&gt;" property for the SelectionInput attribute. Removing this property from the attribute made the selection work as expected on default view controller. But, removing the said property prevents the custom UITableViewController to work, as assigned on NavigationTargetIdentifier.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;[SelectionInput(SelectionMode.Single, DisplayMemberPath = "Name", ListSourceType = typeof(CategoryListViewModel), &lt;b&gt;ReuseExistingViewContext = true&lt;/b&gt;, NavigationTargetIdentifier="CategoryListViewController")]public static string Category;&lt;/pre&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;This sample project was provided&amp;nbsp;&lt;a href="http://www.intersoftpt.com/Community/Users/Jack/" target="_blank"&gt;Jack&amp;nbsp;&lt;/a&gt;on this thread "&lt;a href="http://www.intersoftpt.com/Community/Crosslight/How-to-Use-EditorTypeSelection-and-NavigationTargetIdentifier-to-Enable-Searching/" target="_blank"&gt;How to Use EditorType.Selection and NavigationTargetIdentifier to Enable Searching?&lt;/a&gt;"&lt;/p&gt;&lt;p&gt;Please advise. Thanks!&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</link><pubDate>Fri, 23 May 2014 14:48:31 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Domingo,&lt;/p&gt;&lt;p&gt;It seems Yudi has edited his post which include the video download link now, see above.&lt;/p&gt;&lt;p&gt;Adding to Yudi's reply, the fix is in build 51, that should be correct. However, the assemblies must be properly copied to the correct folder for it to take affect. For samples that downloaded from Git, you'll need to apply the assemblies to the bin folder (Crosslight 2\bin). This presumes that you've followed the sample guidelines&amp;nbsp;&lt;a href="http://developer.intersoftpt.com/display/crosslight/Samples" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Once the assemblies are applied, you also need to clean the solution (all projects to be exact), then rebuild them. This ensures Xamarin Studio picks up the new assemblies and packages them properly.&lt;/p&gt;&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</link><pubDate>Fri, 23 May 2014 05:34:25 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hi Yuri,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Thanks for your response.&lt;/p&gt;&lt;blockquote style="padding-left: 10px; margin: 0px 0px 0px 5px; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"&gt;&lt;span style="color: #1f497d;"&gt;I’m afraid that the latest build of Crosslight (build 51) is not successfully applied to the project yet.&lt;/span&gt;&lt;/blockquote&gt;&lt;/p&gt;&lt;p&gt;I'm not sure I undertood this context. Are you saying I downloaded the wrong build? Or this fix was not included on build 51? Or is there something that needs to be done on MyInventory project to fix the issue? I don't follow, please clarify.&amp;nbsp;&lt;span style="font-size: 10pt;"&gt;You mentioned something would help, what would that be exactly? I don't believe I see any video.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;FYI: I was using the same version when I recorded that video.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Please advise. Thanks!&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</link><pubDate>Fri, 23 May 2014 05:13:48 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;I don't believe MyInventoryModalContext2 video is attached somewhere.&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</link><pubDate>Fri, 23 May 2014 04:17:16 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Thank you very much for the sent video. I’m afraid that the latest build of Crosslight (build 51) is not successfully applied to the project yet.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Please check MyInventoryModalContext2 video. On this video, I select an item from the Categories.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;This should help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;&lt;strong&gt;Edited on May 23, 2014 5:45 AM&lt;br&gt;Reason: provide link to download video&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Sorry for the inconvenience. Please download the video from &lt;a href="https://onedrive.live.com/download?resid=A29317908CEA783A%21396" target="_blank"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</link><pubDate>Thu, 22 May 2014 16:17:49 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Hi Yuri,&lt;/p&gt;&lt;p&gt;Thanks for showing the video; however, you did not select an item from the categories. See attached video.&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</link><pubDate>Thu, 22 May 2014 08:05:05 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;In the attached video, the modal context doesn't close when user select an item from a selection editor. For your information, I'm using MyInventory project with the latest build of Crosslight (build 51) - available in &lt;a href="http://git.intersoftpt.com/projects/CROS/repos/updates/browse" target="_blank"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to Use Crosslight to Properly Add an Item with a Selection?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-to-Properly-Add-an-Item-with-a-Selection/</link><pubDate>Wed, 21 May 2014 22:27:28 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Hey Guys,&lt;/p&gt;&lt;p&gt;I am not sure if this has been posted or been observed before... but, I have noticed something unusual with MyInventory project since v1. When clicking (+) to add an item, a form view comes up in modal context for users to enter data. However, when you select an item from a &lt;b&gt;Selection &lt;/b&gt;editor, the modal context will close. That said, an item cannot be added. This doesn't happen on EDIT mode, maybe because when you edit an item it's in normal context.&lt;/p&gt;&lt;p&gt;Now that we are using the same process to add item, we are having trouble getting it to work since adding requires a modal context. Am not sure if this is bug or adding an item was not implemented properly in MyInventory project. Any ideas? Please advise.&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>