﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » SF ComboBox - Clearing Value</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 21:29:21 GMT</lastBuildDate><ttl>20</ttl><item><title>SF ComboBox - Clearing Value</title><link>http://forum.strataframe.net/FindPost10347.aspx</link><description>This may be a stupid question but I'm testing something and can't seem to make it work the way I want.&lt;/P&gt;&lt;P&gt;I have a form with SF combobox (DropDown)&amp;nbsp;&amp;nbsp;bound to a BO. I am populating via business object.&amp;nbsp; Everything works fine except I want to be able to clear out the combobox value so a empty string is written to the bound field.&lt;/P&gt;&lt;P&gt;I can clear the value from the combo box but it doesn't seem to effect the business object. The original value still remains after I save.&amp;nbsp;I typically don't use comboboxes for these types of things&amp;nbsp;so I haven't run across this before. &amp;nbsp;I'm sure there is a easy way to make this work...&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Wed, 18 Jul 2007 08:43:52 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: SF ComboBox - Clearing Value</title><link>http://forum.strataframe.net/FindPost10404.aspx</link><description>Yay :)</description><pubDate>Wed, 18 Jul 2007 08:43:52 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: SF ComboBox - Clearing Value</title><link>http://forum.strataframe.net/FindPost10398.aspx</link><description>Thanks that worked.:)&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Wed, 18 Jul 2007 07:00:14 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: SF ComboBox - Clearing Value</title><link>http://forum.strataframe.net/FindPost10372.aspx</link><description>By default, the BindingProperty of a ComboBox is "SelectedValue" which will not change when you change the text... so when we bing to a ComboBox that is a DropDown instead of a DropDownList, we change the BindingProperty to "Text" and bind to the raw text that is typed into the ComboBox.&amp;nbsp; Try changing that and see if it gives you the desired effect.</description><pubDate>Tue, 17 Jul 2007 13:32:20 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>