﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Exposing databinding of SF controls within a user control</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 21 Apr 2026 03:11:24 GMT</lastBuildDate><ttl>20</ttl><item><title>Exposing databinding of SF controls within a user control</title><link>http://forum.strataframe.net/FindPost8964.aspx</link><description>What is the best way to expose the data binding of SF controls embedded within a user control?  &lt;br&gt;
&lt;br&gt;
E.g. a user control that contains several SF textboxes to hold an address: a couple of address lines plus city, state and zip textboxes.  When I drop the address user control onto a form, what is the best way to expose the bindings on these five text boxes, so they can be bound via the user control?</description><pubDate>Wed, 23 May 2007 13:34:49 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Exposing databinding of SF controls within a user control</title><link>http://forum.strataframe.net/FindPost8990.aspx</link><description>If you don't know what you'll be binding to, then you'll probably need to add a property to your UserControl to accept a business object.&amp;nbsp; Then, in the load of the user control, you can configure the bindings manually dependant upon the type of the business object that you set.</description><pubDate>Wed, 23 May 2007 13:34:49 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Exposing databinding of SF controls within a user control</title><link>http://forum.strataframe.net/FindPost8983.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I used to post similar question here, &lt;A href="http://forum.strataframe.net/Topic8396-7-1.aspx"&gt;http://forum.strataframe.net/Topic8396-7-1.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, I have no time to explore for it yet.</description><pubDate>Wed, 23 May 2007 10:05:44 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Exposing databinding of SF controls within a user control</title><link>http://forum.strataframe.net/FindPost8981.aspx</link><description>This seems like a excellent idea if you know what the bindings will be when the control is built (i.e. you know it will bind to an instance of the employeesAddressBO).  &lt;br&gt;
&lt;br&gt;
The user control I'm currently building is more generic...I have no idea what the binding will be.</description><pubDate>Tue, 22 May 2007 21:49:23 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Exposing databinding of SF controls within a user control</title><link>http://forum.strataframe.net/FindPost8980.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Currently what I did is, I have put textboxes in a user control which country and states BO as baseclass. Then, I subclass this user control, and place BO such as employeeAddressBO and set data binding. Drop the user control with data binding to form and set BOTranslation.&lt;/P&gt;&lt;P&gt;It is the simplest way I can find at this moment. If you have any better solutions, please advice.&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Tue, 22 May 2007 21:17:25 GMT</pubDate><dc:creator>Chan</dc:creator></item></channel></rss>