﻿<?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 - Lounge - Multiple Dynamic web grid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Multiple-Dynamic-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>Multiple Dynamic web grid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Multiple-Dynamic-web-grid/</link><pubDate>Sun, 17 Aug 2014 23:23:37 GMT</pubDate><dc:creator>Hans</dc:creator><category>Multiple Dynamic web grid</category><description>&lt;p&gt;Hello,&lt;br&gt;&lt;br&gt;I glad to hear that you found the right server side event.&lt;br&gt;&lt;br&gt;Should you have further question, please do not hesitate to contact us.&lt;br&gt;&lt;br&gt;Thank you.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.&lt;br&gt;&lt;/p&gt;</description></item><item><title>Multiple Dynamic web grid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Multiple-Dynamic-web-grid/</link><pubDate>Wed, 13 Aug 2014 09:29:03 GMT</pubDate><dc:creator>ravinder</dc:creator><category>Multiple Dynamic web grid</category><description>&lt;p&gt;I found the solution.&amp;nbsp;Setting the following properties&amp;nbsp;in the &lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;InitializeDataSource event&amp;nbsp;&lt;/span&gt;&lt;/span&gt;makes it work.&lt;/p&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;
&lt;p&gt;grid.DataMember = "Table Name";&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;grid.RootTable.DataMember = "Table Name";&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;e.DataSource = ds; // data set;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;Thanks,&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;Ravinder&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Multiple Dynamic web grid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Multiple-Dynamic-web-grid/</link><pubDate>Wed, 13 Aug 2014 07:48:01 GMT</pubDate><dc:creator>ravinder</dc:creator><category>Multiple Dynamic web grid</category><description>&lt;p&gt;Hi Hans,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. I have gone thru the example that you have mentioned. In this example we have only one grid on the page which can&amp;nbsp;binded to different data sources based on user selection from the drop down. However, in our case we need to generate multiple grids on the run time. &lt;/p&gt;
&lt;p&gt;Try to think in a way in which&amp;nbsp;we need to select multiple options (data sources)&amp;nbsp;from the dropdown in the changeDS.aspx example and based on the multiple selection choosen by the user, we need to show that many grids(each&amp;nbsp;grid binding&amp;nbsp;to a different data source)&amp;nbsp;on the page. &lt;/p&gt;
&lt;p&gt;So, it seems the challange would be in calling the grid events like &lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;InitializeDataSource,&lt;/span&gt;&lt;/span&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;InitializePostBack and &lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;PrepareDataBinding.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;I hope now&amp;nbsp;I am able to clarify my problem.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;Thanks,&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span face=Consolas&gt;Ravinder&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;&lt;span size=2 face=Consolas&gt;&amp;nbsp;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</description></item><item><title>Multiple Dynamic web grid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Multiple-Dynamic-web-grid/</link><pubDate>Tue, 05 Aug 2014 23:47:18 GMT</pubDate><dc:creator>Hans</dc:creator><category>Multiple Dynamic web grid</category><description>Hello,&lt;br&gt;&lt;br&gt;Intersoft has provided sample about how to change data source based on selected table name from the DropDownList.&lt;br&gt;&lt;br&gt;You could find the sample in WebGrid Tutorials Solution, under V3.1 folder, ChangeDS.aspx page.&lt;br&gt;(start &amp;gt; All Programs &amp;gt; Intersoft WebUI Studio 2014 R1 &amp;gt; WebUI Studio for ASP.NET &amp;gt; WebGrid 8 &amp;gt; C# Tutorials. The physical location of the file is: "%ProgramFiles%\Intersoft Solutions\Intersoft WebUI Studio 2014 R1\Tutorials\cs\WebGrid\V3.1\ChangeDS.aspx".)&lt;br&gt;&lt;br&gt;Hope this helps.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.</description></item><item><title>Multiple Dynamic web grid</title><link>http://www.intersoftsolutions.com/Community/Lounge/Multiple-Dynamic-web-grid/</link><pubDate>Tue, 05 Aug 2014 08:12:36 GMT</pubDate><dc:creator>ravinder</dc:creator><category>Multiple Dynamic web grid</category><description>&lt;p&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Lucida Sans Unicode&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Hi,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Lucida Sans Unicode&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;We
are creating an aspx page on which we need to create multiple web grids based
upon the data table in our data set. For every data table we need to create a
seperate data grid dynamically. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Lucida Sans Unicode&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Every
data table is having different columns. The column structure and the number of
columns are different for each table. However, it is throwing an exception on
the PrepareDataBinding “&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Lucida Sans Unicode&amp;quot;,&amp;quot;sans-serif&amp;quot;;
mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;"&gt;Can't find DataColumn with name
'Item' in the specified datasource.” Here the item is the column name in my
data table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Lucida Sans Unicode&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Lucida Sans Unicode&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Please
let us know what settings are required to properly support the multiple dynamic
web grids on a single page. Also please let us know the sample for the multiple dynamic grid that we can refer from the Intersoft web site.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;









&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Lucida Sans Unicode&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Thanks,&lt;br&gt;
Ravinder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>