Author: Motiofel | Posted on: 9/22/2010 4:22:03 AM | Views : 502

Hi,
This is a basic understanding I miss, 
On our aspx page most actions can be done from code behind or from aspx.cs page 
If it is done from aspx.cs page then there is no access to the code , unlike Javascript, css or plain html, for example changing font color can be done both ways:
In code behind:  lblMessage.ForeColor = Drawing.Color.DarkRed
Or in html: style="font-family:verdana;color:DarkRed"
when should I be using code behind and when html?
If the only difference is privacy then why not using only code behind?


...

Go to the complete details ...