Why will this code not work in my production environment?
<p>The code below works perfectly in Dev and Stage environment but not Production.  Stage and Prod are both on IIS7.  I've confirmed that litTest is being set and shows on the page but the class never appears on the html control in prod.  Im baffled!</p>

<pre><code> protected void lvQuestionList_ItemDataBound(object sender, ListViewItemEventArgs e)
{
    if (e.Item.ItemType == ListViewItemType.DataItem)
    {            

        ListViewDataItem dataItem = (ListViewDataItem)e.Item;
        TT.BusinessLogic.stQuestion question = (TT.BusinessLogic.stQuestion)dataItem.DataItem;

        HtmlControl tr = (HtmlControl)dataItem.FindControl("trRow");
        if (tr != null &amp;&amp; question.stStatus.Status == "New")
            tr.Attributes.Add("class", "direct-row");

        if (SortedAnimation != null &amp;&amp; question.QuestionId == new Guid(SortedAnimation))
        {

            if (tr != null &amp;&amp; question.stStatus.Status == "New")

                tr.Attributes["class"] = "sortanim direct-row";
            else
            {

                tr.Attributes["class"] = "sortanim";
                litTest.Text = SortedAnimation + "test";
            }

            SortedAnimation = null;
        }
    }
}
</code></pre>

<p>Should also mention this listview is in an UpdatePanel.</p>
