Null Reference error when updating TextBlock
LearnExpression Support Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Null Reference error when updating TextBlock Expand / Collapse
Author
Message
Posted 6/22/2008 3:53:58 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/4/2008 12:00:13 AM
Posts: 1, Visits: 17
I'm working on an interface to a piece of equipment that communicates through a serial port. I have a slider on the interface and want to display the changed values of the slider in a TextBlock using the value_changed event. The TextBlock is recognized by intellisense but when I run the app I get an XMLParserError / null reference error that points to the TextBlock. If I assign a value to the Text property of the TextBlock anywhere else in the code-behind file, - no problem, but putting it in the value_changed event throws the error.
Any help?
Post #1398
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.

Permissions Expand / Collapse

All times are GMT -6:00, Time now is 6:38pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.016. 13 queries. Compression Disabled.