We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CurrencyTextBox crashes application

Thread ID:

Created:

Updated:

Platform:

Replies:

69886 Nov 15,2007 04:56 PM UTC Nov 15,2007 06:47 PM UTC WinForms 1
loading
Tags: Tools
Christoph Gasser
Asked On November 15, 2007 04:56 PM UTC

I have some currency text boxes in my form. Depending on the selection of a combo box (country selection) I'm assigning the corresponsing currency symbol to the currency text box.

this.myCurrencyTextBox.CurrencySymbol = "$";

Whenever I do that it crashes the application. In debug mode there is no output in visual studio. It just crashes and I have to stop debugging.

Any idea what that could be? Is it a problem for the control that I only change the symbol? Is it necessary to change the other values as well (culture, etc.)?

BR
Christoph


Christoph Gasser
Replied On November 15, 2007 06:47 PM UTC

SOLVED: I did the databinding on the Text item istead of the BindableValue item.

So if you're using CurrencyTextBoxes in combination with databinding, take care that you're binding on "BindableValue".


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;