<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Rabeeh Abla - All Comments</title><link>http://weblogs.asp.net/rabeehabla/default.aspx</link><description>Software Architect @ GlobalVision </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: Software Design Patterns Presentation</title><link>http://weblogs.asp.net/rabeehabla/archive/2008/08/12/software-design-patterns-presentation.aspx#7236918</link><pubDate>Fri, 23 Oct 2009 09:43:53 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7236918</guid><dc:creator>driver51</dc:creator><description>&lt;p&gt;I had a slice of whole wheat toast topped with one scrambled egg and a lot of cantaloupe. , &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7236918" width="1" height="1"&gt;</description></item><item><title>re: Software Design Patterns Presentation</title><link>http://weblogs.asp.net/rabeehabla/archive/2008/08/12/software-design-patterns-presentation.aspx#7235735</link><pubDate>Thu, 22 Oct 2009 10:13:17 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7235735</guid><dc:creator>BadGirl14</dc:creator><description>&lt;p&gt;The charging electrical cables and electronics, including in the car, would have to be capable of very high power flows. , &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7235735" width="1" height="1"&gt;</description></item><item><title>re: Dynamic Silverlight Forms</title><link>http://weblogs.asp.net/rabeehabla/archive/2009/07/22/dynamic-silverlight-forms.aspx#7231237</link><pubDate>Fri, 16 Oct 2009 08:17:35 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7231237</guid><dc:creator>rabeehabla</dc:creator><description>&lt;p&gt;Hi Jay, I apologize for delay, but I am really getting very busy these days.&lt;/p&gt;
&lt;p&gt;If you want to dynamically bind the controls to a data source, you can do it in many ways:&lt;/p&gt;
&lt;p&gt;1- Use predefined patterns in .net Framework to achieve this.&lt;/p&gt;
&lt;p&gt;2- Write a generic class that searches for controls by type, and bind it to data source.&lt;/p&gt;
&lt;p&gt;First you have to look at the problem from architectural view, you need a mapping between generated controls and the data source, you need to specify which data source maps to which control.&lt;/p&gt;
&lt;p&gt;You have to decide where to save the mapping:&lt;/p&gt;
&lt;p&gt;1-	Generated UI&lt;/p&gt;
&lt;p&gt;2-	Independent XML file&lt;/p&gt;
&lt;p&gt;3-	Independent class&lt;/p&gt;
&lt;p&gt;If you are using Silverlight and WPF, check this.DataContext property, you can set data source for the whole control or page, and inject binding syntax into generated controls, and after that binding takes place.&lt;/p&gt;
&lt;p&gt;Hope this helps&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7231237" width="1" height="1"&gt;</description></item><item><title>re: Dynamic Silverlight Forms</title><link>http://weblogs.asp.net/rabeehabla/archive/2009/07/22/dynamic-silverlight-forms.aspx#7195860</link><pubDate>Mon, 07 Sep 2009 19:38:35 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7195860</guid><dc:creator>Jay</dc:creator><description>&lt;p&gt;Hi Rabeeh,&lt;/p&gt;
&lt;p&gt;Nice read!&lt;/p&gt;
&lt;p&gt;I was wondering if you could tell me about dynamically binding the controls to some data source?&lt;/p&gt;
&lt;p&gt;I need to generate a form on run time and at the same time I need to bind some of the drop downs on the form to some data source (of the database).&lt;/p&gt;
&lt;p&gt;Any help will be very useful. Thanks&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jay&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7195860" width="1" height="1"&gt;</description></item><item><title>re: Next Posts will be about:</title><link>http://weblogs.asp.net/rabeehabla/archive/2009/07/23/next-posts-will-be-about.aspx#7158740</link><pubDate>Fri, 31 Jul 2009 13:11:17 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7158740</guid><dc:creator>Joseph Ghassan</dc:creator><description>&lt;p&gt;Testing&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7158740" width="1" height="1"&gt;</description></item><item><title>Silverlight and others for the weekend</title><link>http://weblogs.asp.net/rabeehabla/archive/2009/07/22/dynamic-silverlight-forms.aspx#7158672</link><pubDate>Fri, 31 Jul 2009 11:11:32 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7158672</guid><dc:creator>Gonçalo Chaves</dc:creator><description>&lt;p&gt;Ol&amp;#225; a todos! Queria partilhar convosco alguns links para o fim de semana: &amp;amp;#160; Silverlight: Data forms&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7158672" width="1" height="1"&gt;</description></item><item><title>re: Dynamic Silverlight Forms</title><link>http://weblogs.asp.net/rabeehabla/archive/2009/07/22/dynamic-silverlight-forms.aspx#7157675</link><pubDate>Thu, 30 Jul 2009 07:46:51 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7157675</guid><dc:creator>SLTester</dc:creator><description>&lt;p&gt;Nice work !!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7157675" width="1" height="1"&gt;</description></item><item><title>re: Neural Network Library</title><link>http://weblogs.asp.net/rabeehabla/archive/2009/07/22/neural-network-library.aspx#7153870</link><pubDate>Fri, 24 Jul 2009 08:59:56 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7153870</guid><dc:creator>rabeehabla</dc:creator><description>&lt;p&gt;Comments are open&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7153870" width="1" height="1"&gt;</description></item><item><title>re: Dynamic Silverlight Forms</title><link>http://weblogs.asp.net/rabeehabla/archive/2009/07/22/dynamic-silverlight-forms.aspx#7153829</link><pubDate>Fri, 24 Jul 2009 07:50:04 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7153829</guid><dc:creator>rabeehabla</dc:creator><description>&lt;p&gt;Comments are open&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7153829" width="1" height="1"&gt;</description></item><item><title>re: Software Design Patterns Presentation</title><link>http://weblogs.asp.net/rabeehabla/archive/2008/08/12/software-design-patterns-presentation.aspx#6990298</link><pubDate>Sun, 22 Mar 2009 10:00:56 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6990298</guid><dc:creator>badfish57</dc:creator><description>&lt;p&gt;Good post, admin.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6990298" width="1" height="1"&gt;</description></item></channel></rss>