﻿<?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 - WebGrid Enterprise - Error when using linked web combos on a web grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-when-using-linked-web-combos-on-a-web-grid/</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>Error when using linked web combos on a web grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-when-using-linked-web-combos-on-a-web-grid/</link><pubDate>Tue, 21 Apr 2015 05:36:05 GMT</pubDate><dc:creator>leo.c</dc:creator><description>&lt;p&gt;Hi Bob,&lt;/p&gt;&lt;p&gt;I am glad to hear that your problem sloved.&amp;nbsp;Should you need further assistance or run into any problems in regard to our controls, feel free to post it into our forum. we would be happy to assist you again.&lt;/p&gt;&lt;p&gt;Best Regards,&lt;br&gt;Leo&lt;/p&gt;</description></item><item><title>Error when using linked web combos on a web grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-when-using-linked-web-combos-on-a-web-grid/</link><pubDate>Mon, 20 Apr 2015 13:40:17 GMT</pubDate><dc:creator>belvin@nbpower.com</dc:creator><description>&lt;p&gt;Thank you, that worked very well!&lt;br&gt;&lt;/p&gt;</description></item><item><title>Error when using linked web combos on a web grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-when-using-linked-web-combos-on-a-web-grid/</link><pubDate>Mon, 20 Apr 2015 04:26:35 GMT</pubDate><dc:creator>leo.c</dc:creator><description>&lt;p&gt;Hi Bob,&lt;/p&gt;&lt;p&gt;This issue happen because the parent WebCombo value was null on load and focus on other row, thus current WebCombo show this alert message. For a work around, you could set parent WebCombo value when entering current WebCombo edit mode (WebGrid's OnEnterEditMode client side event) as the following:&lt;/p&gt;&lt;pre&gt;function EnterEditMode(controlId, tableName, editObject){    var cell = editObject.ToCellObject();
    if (editObject.type == "WebComboNET")
    {
        var webCombo = editObject.element;
        if (webCombo.LinkSettings.Enabled &amp;amp;&amp;amp; webCombo.LinkSettings.ParentWebCombo &amp;amp;&amp;amp; webCombo.LinkSettings.ParentWebCombo.length &amp;gt; 0)
        {
            var parentWebCombo = webCombo.LinkSettings.ParentWebCombo[0];
            if (!parentWebCombo.Value)
            {
                var parentValue = cell.Row.GetCell(parentWebCombo.Index).Value;
                parentWebCombo.SetValue(parentValue);
            }
        }
    }
}&lt;/pre&gt;&lt;p&gt;As a reference, I have include the modified&amp;nbsp;WebForm1.aspx on attachment.&lt;/p&gt;&lt;p&gt;Best Regards,&lt;br&gt;Leo&lt;/p&gt;</description></item><item><title>Error when using linked web combos on a web grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-when-using-linked-web-combos-on-a-web-grid/</link><pubDate>Fri, 17 Apr 2015 16:08:39 GMT</pubDate><dc:creator>belvin@nbpower.com</dc:creator><description>&lt;p&gt;I attached a small project to demonstrate my issue. A web grid has&amp;nbsp;web combos for two of the cells in the grid and the web combos are linked to each other via the parent filter setting.&lt;/p&gt;&lt;p&gt;If you run the project the grid will load and display a couple of data rows. If you try to select an item from the "Reason" column in the grid (the child combo) it will complain that the parent combo doesn't have a value. The parent combo is attached to the grid and is displaying a value in the cell but it still gives the error. If you click on the parent combo in the "Time" column you can select an item and then the "Reason" combo will start working, but if you go to a different line in the grid and try the Reason combo it will give the error message again.&lt;/p&gt;&lt;p&gt;I want the combos linked via parent filter to work even when both are attached to a web grid. Is there a way to get this to work without the error messages about the missing parent value?&lt;/p&gt;</description></item></channel></rss>