﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>LearnExpression Support Forum / Expression Programs / Microsoft Expression Blend  / Null Reference error when updating TextBlock / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>LearnExpression Support Forum</description><link>http://forums.learnexpression.com/</link><webMaster>dustin@learnexpression.com</webMaster><lastBuildDate>Fri, 21 Nov 2008 07:30:31 GMT</lastBuildDate><ttl>20</ttl><item><title>Null Reference error when updating TextBlock</title><link>http://forums.learnexpression.com/Topic1398-5-1.aspx</link><description>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.&lt;br&gt;Any help?</description><pubDate>Sun, 22 Jun 2008 15:53:58 GMT</pubDate><dc:creator>rablinz</dc:creator></item></channel></rss>