ComboBox events


Gianluca Pezzoli

Hi to all,

i have binded a ComboBox SelectedVaue to a property of my Order class using
default visual designer tool from ComboBox

When I change the selected value of the ComboBox all works well and the
property get the new SelectedValue.
But when i delete selected value of the Combo Box Value the property value
doesn't change.

I'd like to have one system for:
- SelectedVaue changed ( -> changes the value in the binded property of my
Class). And this is ok.
- Selected value deleted (-> set to nothing the value in the binded
property of my Class). This is the problem.

Is it possible to do in a simple way?
And if yes, is it possible to do through the Data Binding Default Designer
(ComboBox properties\(DataBindings)\(Advanced))?

Thank you in advance.




Linda Liu[MSFT]

Hello Gianluca,

The managed support service of the newsgroup
microsoft.public.dotnet.framework.windowsforms is now available instead on
Windows Forms forums: Would
you please repost the question in the forum with the Windows Live ID used
to access your Subscription benefits? Our engineers will assist you in the
new platform. The article introduces more
information about the migration. In the future, please post your
WinForm-related questions directly to the forums. If you have any questions
or concerns, please feel free to contact us: (e-mail address removed).

Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

Get notification to my posts through email? Please refer to

MSDN Managed Newsgroup and Forum support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
This posting is provided "AS IS" with no warranties, and confers no rights.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question