Posted on: 4/1/2011 6:41:00 AM | Views : 750

i am setting the gridview headers backcolor dynamically 
 if (!Page.IsPostBack)
            {         buildGrid();   gvTeamGameSeries.HeaderStyle.BackColor = Color.FromName("red"); }
 
however everytime i reload the page,backcolor disappears.If i move it out from IsPostBack block ,it works fine but i want to load grid only when the page loads for first time(inside !Page.IsPostBack).Whats the best way to handle this?thanks.

...

Go to the complete details ...