﻿<?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 - WebInput - dynamic generation of input control</title><link>http://www.intersoftsolutions.com/Community/WebInput/dynamic-generation-of-input-control/</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 generation of input control</title><link>http://www.intersoftsolutions.com/Community/WebInput/dynamic-generation-of-input-control/</link><pubDate>Mon, 11 Apr 2011 21:46:13 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Fung,&lt;/p&gt;&lt;p&gt;Thank you for your suggestion. However, this is not recommended because all binding code should be placed in InitializeDataSource event.&lt;br /&gt;Regarding this issue, I would like to re-confirm that this is not a bug. Please see below sample to see how should we handle this scenario.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Hamdy&lt;/p&gt;</description></item><item><title>dynamic generation of input control</title><link>http://www.intersoftsolutions.com/Community/WebInput/dynamic-generation-of-input-control/</link><pubDate>Mon, 11 Apr 2011 06:47:34 GMT</pubDate><dc:creator>interfung</dc:creator><description>&lt;blockquote&gt;hi,&lt;br /&gt;&lt;br /&gt;thank you for your reply. Stiil i have doubt that how can create &lt;br /&gt;&lt;br /&gt;protected void combo_InitializeDataSource(object sender, DataSourceEventArgs e)&lt;br /&gt;&lt;br /&gt;function dynamically. If you can please send the previous example updated with your solution.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;thanks and regards&lt;br /&gt;ca&lt;br /&gt;&lt;/blockquote&gt;&lt;p&gt; Hi All,&lt;/p&gt;
&lt;p&gt;I had also come across with the problem recently, and I had add some code to 'work around' this problem.&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;Private Sub Page_Load()
  LoadGrid()
End Sub
Private Sub LoadGrid()
  dim dataTable1 as DataTable=GetYourData()
  webgrid1.DataValueField="Value"
  webgrid1.DataTextField="Text"
  webgrid1.DataSource=dataTable1
  webgrid1.DataBind()
  RemoveHandler webcombo1.InitializeDataSource, AddressOf WebCombo1_InitializeDataSource
   AddHandler webcombo1.InitializeDataSource, AddressOf WebCombo1_InitializeDataSource
End Sub
Private Sub WebCombo1_InitializeDataSource(ByVal sender As Object, ByVal e As ISNet.WebUI.WebCombo.DataSourceEventArgs) Handles WebCombo1.InitializeDataSource
End Sub&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p /&gt;</description></item><item><title>dynamic generation of input control</title><link>http://www.intersoftsolutions.com/Community/WebInput/dynamic-generation-of-input-control/</link><pubDate>Fri, 24 Sep 2010 05:07:16 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Ca,&lt;/p&gt;&lt;p&gt;Ok, thank you for your detail. I think I was able to replicate the issue that you reported. I will report this to our developer teams.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>dynamic generation of input control</title><link>http://www.intersoftsolutions.com/Community/WebInput/dynamic-generation-of-input-control/</link><pubDate>Thu, 23 Sep 2010 04:50:07 GMT</pubDate><dc:creator>ismail</dc:creator><description>hi,&lt;br /&gt;&lt;br /&gt;thank you for your reply. Stiil i have doubt that how can create &lt;br /&gt;&lt;br /&gt;protected void combo_InitializeDataSource(object sender, DataSourceEventArgs e)&lt;br /&gt;&lt;br /&gt;function dynamically. If you can please send the previous example updated with your solution.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;thanks and regards&lt;br /&gt;ca&lt;br /&gt;</description></item><item><title>dynamic generation of input control</title><link>http://www.intersoftsolutions.com/Community/WebInput/dynamic-generation-of-input-control/</link><pubDate>Wed, 22 Sep 2010 22:59:53 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Ca,&lt;/p&gt;&lt;p&gt;Yes, my sample only showed you how to add WebCombo without bind it with database. &lt;br /&gt;If you want it with database value, you need to bind it with database. Add InitializeDataSource event handler when create WebCombo programmatically and bind the data in that event.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>dynamic generation of input control</title><link>http://www.intersoftsolutions.com/Community/WebInput/dynamic-generation-of-input-control/</link><pubDate>Tue, 21 Sep 2010 07:30:29 GMT</pubDate><dc:creator>ismail</dc:creator><description>&lt;p&gt;&lt;span style="color: #000000"&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000"&gt;Thank you for your solution. Here i have one problem , can you please try that issue from your end.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000"&gt;From the above attached example page , when i select "&lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;Ana Trujillo&lt;/span&gt;&lt;/span&gt;" from the first compobox a new &lt;span style="font-size: 13px"&gt;&lt;span style="font-size: 13px"&gt;WebCombo is coming. But that combo dont have any dropdown values. How can i populate this combobox with database values from the backend dynamically.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;span style="color: #000000; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000"&gt;Thanks and regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000"&gt;ca&lt;/span&gt;&lt;/p&gt;</description></item><item><title>dynamic generation of input control</title><link>http://www.intersoftsolutions.com/Community/WebInput/dynamic-generation-of-input-control/</link><pubDate>Thu, 12 Aug 2010 16:58:34 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Ca,&lt;/p&gt;&lt;p&gt;I attached my simple sample. I made a quick selection option in DropDownList control. In some certain values, I add WebCombo or WebInput. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>dynamic generation of input control</title><link>http://www.intersoftsolutions.com/Community/WebInput/dynamic-generation-of-input-control/</link><pubDate>Thu, 12 Aug 2010 04:47:01 GMT</pubDate><dc:creator>ismail</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;i have a special scenario. I want to generate a web form dynamically, means depending on values in the database i need to generate a form with input and combo control. Is there any way to do this using Intersoft Asp.net WebUI.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&lt;/p&gt;
&lt;p&gt;ca&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>