I have a simple label control that I need to display in a ASP.NET application and I need to get the label to display in a red colored font. I have tried the following code several times and the text of the label will not change to red, it still displays as black text: (The code is within a table tag.)
<td class="fieldName"><asp:label id="lblTtlManHrs" runat="server" ForeColor="#CC0000">Total Man Hours: </asp:label>
Some one else programmed the application that I'm working with in ASP.NET. I just just changed the .aspx web page on in notepad and then just did a copy and replace but the code did not work.
Do I need to reboot either just IIS or reboot the server that this application is located on to get the change in code (I added the ForeColor attribute.) to work and turn the text Total Man Hours to red?
Any assistance would be greatly appreciated.
<td class="fieldName"><asp:label id="lblTtlManHrs" runat="server" ForeColor="#CC0000">Total Man Hours: </asp:label>
Some one else programmed the application that I'm working with in ASP.NET. I just just changed the .aspx web page on in notepad and then just did a copy and replace but the code did not work.
Do I need to reboot either just IIS or reboot the server that this application is located on to get the change in code (I added the ForeColor attribute.) to work and turn the text Total Man Hours to red?
Any assistance would be greatly appreciated.