Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i will try to set font color dynamically to set the html code style write from code behind side using asp.net with c#
Posted
Comments
pradiprenushe 30-Aug-12 2:44am    
You want to change css style from code behind?
prashant patil 4987 30-Aug-12 4:16am    
are you want to change server side controls font or html control font??

1 solution

if it a html control use page.findcontrol
or
it is .net control controlname.cssClass = somecss or controlname.attributs.add("style","color:red")
 
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