<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Few questions about custom controls</title><link>https://www.infopathdev.com:443/forums/thread/40130.aspx</link><pubDate>Mon, 30 Mar 2009 15:26:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40130</guid><dc:creator>Yonatann</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40130.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=40130</wfw:commentRss><description>&lt;p class="MsoNormal" dir="ltr" style="MARGIN:10pt 0cm;DIRECTION:ltr;unicode-bidi:embed;TEXT-ALIGN:left;"&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-bidi-language:HE;"&gt;Hi,&lt;br /&gt;&lt;/span&gt;I&amp;#39;m developing a custom control using C# to provide drop down list with auto-complete (type-ahead) functionality. My control is working fine expect that it is taking the values list directly from a WS, my customer want it to take the values from a secondary data-source inside the form.&lt;br /&gt;&lt;br /&gt;1. Is there a way for a custom control (.net code, deployed as an Active-X) to access the form assets (i.e. the secondary data-source)? this.container and this.partent are null, how can I access the form object?&lt;br /&gt;2. Is there a way for a custom control to add a property to the designer? I mean that when the user will right click on the control and select &amp;quot;properties&amp;quot; he will see custom properties that he can change.&lt;br /&gt;3. The built-in controls (Text Box, Combo Box, etc.) have a set of standard designer fields: Data Validation, Rules, etc… &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;Is there a way for an Active-X control (developed with C#, VB6 or whatever) to implement this designer fields? If no, why? &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;Doesn&amp;#39;t Microsoft provide a way to build control with the same rich functionality as the built-in controls?&lt;/font&gt;&lt;br style="mso-special-character:line-break;" /&gt;&lt;br style="mso-special-character:line-break;" /&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>