I have a few buttons that send text string data from a textbox to a textblock on another page. Please see code below.
However, it only works when I press all of the buttons, whenever I press only one of them, I run into an error. (Please see below)
An exception of type 'System.NullReferenceException' occurred in WpfApplication4.exe but was not handled in user code Additional information: Object reference not set to an instance of an object.