﻿<?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 - ClientUI - UXGrid binding to property navigation (DevForce)- problem with adding new record</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGrid-binding-to-property-navigation-DevForce--problem-with-adding-new-record/</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>UXGrid binding to property navigation (DevForce)- problem with adding new record</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGrid-binding-to-property-navigation-DevForce--problem-with-adding-new-record/</link><pubDate>Tue, 28 Jun 2011 06:33:51 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;Thank you and look forward&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Andrzej&lt;/p&gt;</description></item><item><title>UXGrid binding to property navigation (DevForce)- problem with adding new record</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGrid-binding-to-property-navigation-DevForce--problem-with-adding-new-record/</link><pubDate>Tue, 28 Jun 2011 06:10:32 GMT</pubDate><dc:creator>Riendy</dc:creator><description>&lt;p&gt;Hi Andrzej,&lt;/p&gt;&lt;p&gt;To implement navigation properties, it should operated just like another entities. But unfortunately, just like I said before, this is our missing scenario. &lt;/p&gt;
&lt;p&gt;Our development team has known this issue and will fix it soon. For now, You might use your own solution that use ExecuteValidateRow event.&lt;/p&gt;
&lt;p&gt;I will let you know the updates.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards.&lt;br /&gt;Riendy&lt;/p&gt;</description></item><item><title>UXGrid binding to property navigation (DevForce)- problem with adding new record</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGrid-binding-to-property-navigation-DevForce--problem-with-adding-new-record/</link><pubDate>Tue, 28 Jun 2011 03:38:35 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hi Riendy,&lt;/p&gt;&lt;p&gt;Double records appear also when I set AutoGenerateColumn=false. In my opinion it's a bug&lt;/p&gt;
&lt;p&gt;I think a freely operation on entities , not depending on navigation properties level, should be able to use with UXGrid.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Could you give me some roadmap to implement navigation properties. &lt;/p&gt;
&lt;p&gt;It's seriously limits use of UXGrid in our project&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Andrzej&lt;/p&gt;</description></item><item><title>UXGrid binding to property navigation (DevForce)- problem with adding new record</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGrid-binding-to-property-navigation-DevForce--problem-with-adding-new-record/</link><pubDate>Tue, 28 Jun 2011 02:22:33 GMT</pubDate><dc:creator>Riendy</dc:creator><description>&lt;p&gt;Hi Andrzej,&lt;/p&gt;&lt;p&gt;This issue appears because you are using navigation property (region).&lt;/p&gt;
&lt;p&gt;ExecutePrepareNewRow event, executed when you click on add new row, so when you click new row, the new data appear on grid with the default value, just like appear on add new row. &lt;/p&gt;
&lt;p&gt;ExecuteInsertRow event, executed in last action after you approve the adding with pressing enter, etc. After insert, we get double record on list, it might be appear because set true the AutoGenerateColumn property, so the collection called twice.&lt;/p&gt;
&lt;p&gt;In addition, your scenario is a missing scenario when we did QA. I have reported this issue to our development team for further investigation.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Riendy&lt;/p&gt;</description></item><item><title>UXGrid binding to property navigation (DevForce)- problem with adding new record</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGrid-binding-to-property-navigation-DevForce--problem-with-adding-new-record/</link><pubDate>Mon, 27 Jun 2011 05:47:56 GMT</pubDate><dc:creator>Riendy</dc:creator><description>&lt;p&gt;Hi Andrzej,&lt;/p&gt;&lt;p&gt;The first solution is execute when you click add new row. And the second one, execute when you press enter after you type a new data.&lt;/p&gt;
&lt;p&gt;But, I have to discuss with our development team to ensure when the event execute and also forward the issue which appear while using these events.&lt;/p&gt;
&lt;p&gt;Could you please give me more time ?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thank you for your patience.&lt;br /&gt;Riendy&lt;/p&gt;</description></item><item><title>UXGrid binding to property navigation (DevForce)- problem with adding new record</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGrid-binding-to-property-navigation-DevForce--problem-with-adding-new-record/</link><pubDate>Thu, 23 Jun 2011 05:51:34 GMT</pubDate><dc:creator>Riendy</dc:creator><description>&lt;p&gt;Hi Andrzej,&lt;/p&gt;&lt;p&gt;I'm currently still investigating your problem and need more time to provide a solution for you. I will get back to you as soon as possible.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards.&lt;br /&gt;Riendy&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;font class="Apple-style-span" style="font-size: 15px; font-family: 'segoe ui', arial, verdana, tahoma; "&gt;&lt;span style="line-height: 17px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>UXGrid binding to property navigation (DevForce)- problem with adding new record</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGrid-binding-to-property-navigation-DevForce--problem-with-adding-new-record/</link><pubDate>Wed, 22 Jun 2011 03:34:26 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I've prepared example base on your template with DevForce. There is applied model Region &amp;#43;Territory.&lt;/p&gt;
&lt;p&gt;In northindmodel.edms I've changed only TerritoryID (of Territory entity) property to Identity.&lt;/p&gt;
&lt;p&gt;Constructor of TerritoryViewModel has implemented Region as argument. Base on Region we get property navigation about Territories. &lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;//public class TerritoryViewModel1 : EditableGridViewModelBase&amp;lt;Territory&amp;gt;&lt;/pre&gt;&lt;pre&gt;public TerritoryViewModel1(Region region)
            : base()
        {
            _region = region;
            Items = region.Territories;
                
        }&lt;/pre&gt;
&lt;p&gt;Property items is binding to UXGrid.&lt;/p&gt;
&lt;p&gt;The problem is when we try to add new territory to initial region. &lt;/p&gt;
&lt;p&gt;It's necessery to set Region property in Territory entity. We can do that in 3-way:&lt;/p&gt;
&lt;p&gt;1. override method ExecutePrepareNewRow (in my example it's Territory1 on menu)&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;protected override void ExecutePrepareNewRow(object parameter)
        {
            base.ExecutePrepareNewRow(parameter);
            this.NewItem.Region = _region;
        }&lt;/pre&gt;
&lt;p&gt; Problem: when I click on new row , the same one appear on bottom&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;2. override method ExecuteInsertRow (in my example it's Territory2 on menu)&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;protected override void ExecuteInsertRow(object parameter)
        {
            ((Territory)parameter).Region = _region;
            //this.NewItem.Region = _region;
            base.ExecuteInsertRow(parameter);
        }&lt;/pre&gt;
&lt;p&gt; Problem : after insert we get double record on list but one of them couldn't be selected&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;3. override method ExecuteValidateRow&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;protected override void ExecuteValidateRow(object parameter)
        {
            ((Territory)parameter).Region = _region;
            base.ExecuteValidateRow(parameter);
        }&lt;/pre&gt;
&lt;p&gt; This is one solution which working properly&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Could you investigate why 1 and 2 solution not working ?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards&lt;/p&gt;
&lt;p&gt;Andrzej&lt;/p&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;</description></item></channel></rss>