Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can any one guide me on how to give a diff color to 'Highlights of this property' in this repeater code:


<itemtemplate>

  Category:   <%#Eval("prop_category_name")%>    District / city     <%#Eval("dist_name")%><%#Eval("city_name")%>

  Property type:<%#Eval("prop_type_name")%>     Block / Area:   <%#Eval("block_name")%> <%#Eval("cityarea_name")%>

              Panchayat:   <%#Eval("panch_name")%>

  Highlights of this property:

<asp:TextBox ID="TextBox4" runat="server" textmode="multiline" maxlength="20" width="563" ReadOnly="true" Height="79"
BackColor="Ivory"
Text=<%#Eval("highlights")%> >



Thanks
Posted

1 solution

replace that line with

HTML
<span style="color:Red">Highlights of this property:</span>


Replace color Red with any color you want.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900