Search code examples
c#wpfradio-button

C# WPF radio button with textbox doesn't work


When you type in wrong data it shows right errors but when you enter right information it doesn't do anything in radio button textbox. It doesn't return any error either.

I need radio button to get the correct year from user and pass it to Years variable.


Solution

  • Try this, you have to return false for wrong year input.