﻿<?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 - WebCombo - dynamic create column and dynamic create WebCombo ....</title><link>http://www.intersoftsolutions.com/Community/WebCombo/dynamic-create-column-and-dynamic-create-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>dynamic create column and dynamic create WebCombo ....</title><link>http://www.intersoftsolutions.com/Community/WebCombo/dynamic-create-column-and-dynamic-create-WebCombo-/</link><pubDate>Wed, 19 Oct 2011 21:55:33 GMT</pubDate><dc:creator>warcraftii</dc:creator><description>&lt;p&gt;I webgrid in the dynamic of the column and column according to create dynamic created WebCombo and set up WebCombo. EntryMode = EntryMode. AutoComplete WebCombo data source is DataTable to the edit state input words after after this time the whole prompted page refresh me want to editing tips and refresh the page is not after I test but if be manual added column won't, there is a way to make it not refresh it help me&lt;/p&gt;
&lt;p&gt;created WebCombo :&lt;/p&gt;
&lt;p&gt;protected void CreateCombos(WebGridColumn wgc)&lt;br /&gt;{&lt;br /&gt;if (wgc.Name != "id")&lt;br /&gt;{&lt;br /&gt;WebCombo cb = new WebCombo(wgc.Name);&lt;br /&gt;combo.Controls.Add(cb);&lt;br /&gt;cb.DataTextField = wgc.Name;&lt;br /&gt;cb.DataValueField = wgc.Name;&lt;br /&gt;cb.LayoutSettings.EntryMode = EntryMode.AutoComplete;&lt;br /&gt;cb.LayoutSettings.AlwaysShowHelpButton = false;&lt;br /&gt;cb.LayoutSettings.AlwaysShowSearchButton = true;&lt;br /&gt;cb.LayoutSettings.ComboMode = Mode.SingleColumn;&lt;br /&gt;cb.LayoutSettings.StatusBoxVisible = true;&lt;br /&gt;cb.LayoutSettings.AlwaysShowSearchButton = false;&lt;br /&gt;cb.UseDefaultStyle = true;&lt;br /&gt;cb.AllowWildCardSearch = true;&lt;br /&gt;cb.AdditionalSearchFields = "pinyin";&lt;br /&gt;cb.Latency = 0;&lt;br /&gt;cb.MinCharsToRequest = 1;&lt;br /&gt;cb.DataSource = mydatatable &lt;/p&gt;
&lt;p&gt;cb.DataBind();&lt;br /&gt;wgc.EditType = EditType.WebComboNET;&lt;br /&gt;wgc.WebComboID = cb.ID;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;/p&gt;</description></item></channel></rss>