I need to display a button depending on the value in the database. For Eg. If the value of the object is empty I need to display a button that says Create Data. And if the object does have a value, I need to display 2 buttons that say Update Data and Edit data. I tried to use 2 converters for this. The first one displays Create button correctly, but the Update and Edit buttons get displayed always whether the object has value or not.
Share
It looks like you have your data binding wrong. Perhaps
namewhich you bind to is always empty. What is yourDataContext?There seems to be nothing wrong with the converters.