Click here to Skip to main content
15,885,366 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: change forecolor of a label in gridview Pin
laziale15-Mar-10 11:00
laziale15-Mar-10 11:00 
GeneralRe: change forecolor of a label in gridview Pin
Brij15-Mar-10 18:21
mentorBrij15-Mar-10 18:21 
GeneralRe: change forecolor of a label in gridview Pin
Abhijit Jana15-Mar-10 9:51
professionalAbhijit Jana15-Mar-10 9:51 
AnswerRe: change forecolor of a label in gridview Pin
Abhijit Jana15-Mar-10 10:01
professionalAbhijit Jana15-Mar-10 10:01 
GeneralRe: change forecolor of a label in gridview Pin
laziale15-Mar-10 11:06
laziale15-Mar-10 11:06 
GeneralRe: change forecolor of a label in gridview Pin
Abhijit Jana15-Mar-10 11:17
professionalAbhijit Jana15-Mar-10 11:17 
GeneralRe: change forecolor of a label in gridview Pin
laziale15-Mar-10 11:35
laziale15-Mar-10 11:35 
GeneralRe: change forecolor of a label in gridview Pin
FyreWyrm15-Mar-10 15:39
FyreWyrm15-Mar-10 15:39 
Do you understand the page life cycle? Read about it here[^].

In your page load event you want to set the DataSource property of your grid and call DataBind. Hopefully in your init method you setup an item data bound event handler. When DataBind is called, for each row being added to the gridview your data bound event handler will be called. There you set your colors. After all of that is done, Render gets called for the page which generates all the HTML from your page and code which gets sent to your user's browser.
Don't blame me. I voted for Chuck Norris.

GeneralRe: change forecolor of a label in gridview Pin
Brij15-Mar-10 18:27
mentorBrij15-Mar-10 18:27 
GeneralRe: change forecolor of a label in gridview Pin
laziale16-Mar-10 3:14
laziale16-Mar-10 3:14 
GeneralRe: change forecolor of a label in gridview Pin
Abhijit Jana16-Mar-10 3:30
professionalAbhijit Jana16-Mar-10 3:30 
GeneralRe: change forecolor of a label in gridview Pin
laziale16-Mar-10 3:59
laziale16-Mar-10 3:59 
AnswerRe: change forecolor of a label in gridview Pin
carlecomm15-Mar-10 16:35
carlecomm15-Mar-10 16:35 
GeneralRe: change forecolor of a label in gridview Pin
laziale16-Mar-10 3:17
laziale16-Mar-10 3:17 
QuestionBulletedList control Pin
hotthoughtguy15-Mar-10 8:03
hotthoughtguy15-Mar-10 8:03 
AnswerRe: BulletedList control Pin
Sandeep Mewara15-Mar-10 9:23
mveSandeep Mewara15-Mar-10 9:23 
AnswerRe: BulletedList control Pin
Brij15-Mar-10 9:31
mentorBrij15-Mar-10 9:31 
GeneralRe: BulletedList control Pin
Abhijit Jana15-Mar-10 9:53
professionalAbhijit Jana15-Mar-10 9:53 
GeneralRe: BulletedList control Pin
Brij15-Mar-10 18:18
mentorBrij15-Mar-10 18:18 
GeneralRe: BulletedList control Pin
Abhijit Jana15-Mar-10 19:51
professionalAbhijit Jana15-Mar-10 19:51 
QuestionA generic error occurred in GDI+ on bitmap.save Pin
VinothRao15-Mar-10 4:49
VinothRao15-Mar-10 4:49 
AnswerRe: A generic error occurred in GDI+ on bitmap.save Pin
JHizzle15-Mar-10 5:27
JHizzle15-Mar-10 5:27 
GeneralRe: A generic error occurred in GDI+ on bitmap.save Pin
VinothRao15-Mar-10 14:33
VinothRao15-Mar-10 14:33 
QuestionMultiple Email ids Validating Pin
MallikarjunaGupta15-Mar-10 3:50
MallikarjunaGupta15-Mar-10 3:50 
AnswerRe: Multiple Email ids Validating Pin
David Mujica15-Mar-10 4:28
David Mujica15-Mar-10 4:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.