locked
Some Run time background colors disappear RRS feed

  • Question

  • I use the following code in my ascs file to generate a background color for one row.

    					 

    <asp:labelid='assignment1'runat='server'text='<%#Eval("assignment1")%>'

    backColor='<%#Drawing.Color.FromName(Eval("assignmentcolor1"))%>'/>

    This works fine on Firefox when the page is first accessed but consistently after

    about 2 minutes some but not all of the background colors go away, leaving the default color some

    places but not all. If I refresh the page I get the colors back.

    It is consistent on Internet Explorer as well

    Any ideas why this would happen?

    Tuesday, July 30, 2013 3:39 PM

Answers

  • You're more likely to get useful replies if you ask in an ASP.NET-related forum like forums.asp.net - also, if there is some JavaScript code running on the web page, let them know about that too.

    --
    Andrew

    Tuesday, July 30, 2013 5:41 PM