﻿<?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 - Add new lookup value through webgrid column using webcombo</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Add-new-lookup-value-through-webgrid-column-using-webcombo/</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>Add new lookup value through webgrid column using webcombo</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Add-new-lookup-value-through-webgrid-column-using-webcombo/</link><pubDate>Mon, 26 Mar 2012 21:35:58 GMT</pubDate><dc:creator>yudi</dc:creator><category>webgrid webcombo lookup new add column</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Glad to hear that the sample helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Should you need further assistance or run into any problems regarding our controls, feel free to post it into our community site. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Add new lookup value through webgrid column using webcombo</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Add-new-lookup-value-through-webgrid-column-using-webcombo/</link><pubDate>Mon, 26 Mar 2012 11:37:03 GMT</pubDate><dc:creator>beyti77</dc:creator><category>webgrid webcombo lookup new add column</category><description>&lt;blockquote&gt;&lt;p&gt;Thanks for the detailed answer and the sample code; I just like to ask if there's any possibility to do this using asp:linqDataSource 'cos you've given the sample with accessDataSource and I can't find the equivalent of the insertCommand etc. through the linqDataSource.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks a lot&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;As it is understood that, linq does that automatically. Thanks for the detailed answer.&lt;/p&gt;</description></item><item><title>Add new lookup value through webgrid column using webcombo</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Add-new-lookup-value-through-webgrid-column-using-webcombo/</link><pubDate>Mon, 26 Mar 2012 09:40:51 GMT</pubDate><dc:creator>beyti77</dc:creator><category>webgrid webcombo lookup new add column</category><description>&lt;p&gt;Thanks for the detailed answer and the sample code; I just like to ask if there's any possibility to do this using asp:linqDataSource 'cos you've given the sample with accessDataSource and I can't find the equivalent of the insertCommand etc. through the linqDataSource.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot&lt;/p&gt;</description></item><item><title>Add new lookup value through webgrid column using webcombo</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Add-new-lookup-value-through-webgrid-column-using-webcombo/</link><pubDate>Mon, 26 Mar 2012 00:39:45 GMT</pubDate><dc:creator>yudi</dc:creator><category>webgrid webcombo lookup new add column</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;WebCombo supports AllowAddItem feature to allow users to add items that are not in the DataSource transparently.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;When users input a text that is not in the DataSource and press Tab or lose the WebCombo’s focus, the control will invoke an OnTheFly PostBack to process OnAddItem server side event if defined. If the OnAddItem’s ReturnValue is True (default), the control will process and add the item in client side dynamically. Otherwise, it will cancel the default processing and not adding any items.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I enclosed a simple sample of this scenario as attachment. A WebGrid shows list of Products of Northwind.mdb access data base. It has ten fields: ProductID; ProductName; SupplierID; CategoryID; QuantityPerUnit; UnitPrice; UnitsInStock; UnitsOnOrder; ReorderLevel; Discontinued. WebCombo1 control is utilized as CategoryID field edit type and shows the CategoryName instead of CategoryID.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;In the sample, user can type text that is not in the DataSource of Category and press Tab or lose the WebCombo’s focus, then the control will add the item in the DataSource transparently.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please have the attached sample evaluated on your end and let us know whether this helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Add new lookup value through webgrid column using webcombo</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Add-new-lookup-value-through-webgrid-column-using-webcombo/</link><pubDate>Sun, 25 Mar 2012 12:25:21 GMT</pubDate><dc:creator>beyti77</dc:creator><category>webgrid webcombo lookup new add column</category><description>&lt;p&gt;I'm trying to achieve a simple task:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;For example, I have a customer data source that has the fields "Name", "Lastname" and "SchoolNameId" that schoolName is a foreign key relation to the "SchoolNames" table and I'm able to show the SchoolName.Name value from the webCombo control in the grid successfully like:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Name | Lastname | SchoolName&lt;/p&gt;
&lt;p&gt;------------------------&lt;/p&gt;
&lt;p&gt;Jon     | Calagham | Oxford&lt;/p&gt;
&lt;p&gt;Carl    | Jaxs          | Stanford&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;All I need to achieve is to add a new SchoolName through the Customer webgrid if there's any with the one to be added.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;So I've tried to set EntryMode to "InstantLookup" but since the SchoolName table needs extra columns to be set like the primary key "Id" column that are not nullable; I couldn't find a method to access the save of the lookup item.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I'd love to say thanks in advance.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>