﻿<?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 » Issues  » Two dropdown buttons appear with Inherited UI</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 04:01:04 GMT</lastBuildDate><ttl>20</ttl><item><title>Two dropdown buttons appear with Inherited UI</title><link>http://forum.strataframe.net/FindPost1605.aspx</link><description>I am putting a DateEdit field on my form at runtime and binding it to a business object using the following code:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;&lt;FONT color=#111199&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#111199&gt;&lt;FONT size=2&gt; fldDate &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#111199&gt;&lt;FONT size=2&gt; DateEdit&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; itemDate &lt;/FONT&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#111199 size=2&gt; LayoutControlItem&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;BR&gt;&lt;FONT color=#111199&gt;fldDate.BusinessObject = Me&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#111199&gt;&lt;FONT size=2&gt;fldDate.BindingField = "Date"&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;itemDate = LayoutGroup.AddItem(&lt;/FONT&gt;&lt;FONT size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt; LayoutControlItem, Utils.InsertType.Bottom)itemDate.Text = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#111199&gt;&lt;FONT size=2&gt;"Date:"&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;itemDate.Control = fldDate&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111199&gt;&lt;FONT size=2&gt;&lt;FONT color=#1f5080&gt;When I use this it gives me the correct result except that&amp;nbsp;two&amp;nbsp;buttons appear instead of one.&amp;nbsp; This is a result of something in the Inherited UI, because I can replace the Inherited DateEdit with a straight DevExpress DateEdit and I have no problems.&amp;nbsp; But I need the data bound to a business object, so I need to be able to use the Inherited control.&amp;nbsp; Any ideas or is this a bug?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111199&gt;&lt;FONT size=2&gt;&lt;FONT color=#111177&gt;&lt;FONT color=#111111&gt;&lt;FONT color=#33bbbb&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Tue, 20 Jun 2006 18:03:16 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Two dropdown buttons appear with Inherited UI</title><link>http://forum.strataframe.net/FindPost1607.aspx</link><description>Yep, two dropdown buttons...I thought it was strange too.&amp;nbsp; I cleared out the Properties.Buttons and then added a new one and it was fine.&amp;nbsp; Somehow two buttons are added.&amp;nbsp; I can send you a screenshot if you'd like.</description><pubDate>Tue, 20 Jun 2006 18:03:16 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Two dropdown buttons appear with Inherited UI</title><link>http://forum.strataframe.net/FindPost1606.aspx</link><description>Two buttons appear within the DateEdit control?&amp;nbsp; As in two drop-down buttons?</description><pubDate>Tue, 20 Jun 2006 17:04:15 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>