Just want to check that my understanding is correct from what I (think!) see happening...
1 - If I handle the _ItemDataBound event in a grid and set the DataItem.Text property, whatever I set there gets output and anything that would have been output had I not fielded the event is discarded
2 - If I handle the _ItemDataBound event in a grid and do something like DataItem.Controls.Add(...) the rest of the controls have not yet been set and the content that would have been displayed using the DataItem.Text property is discarded
Not sure if I've explained that clearly enough but perhaps someone can point me at chapter and verse on exactly how one should edit/set/append values in grid cells at runtime in code?
Thanks, Mark
1 - If I handle the _ItemDataBound event in a grid and set the DataItem.Text property, whatever I set there gets output and anything that would have been output had I not fielded the event is discarded
2 - If I handle the _ItemDataBound event in a grid and do something like DataItem.Controls.Add(...) the rest of the controls have not yet been set and the content that would have been displayed using the DataItem.Text property is discarded
Not sure if I've explained that clearly enough but perhaps someone can point me at chapter and verse on exactly how one should edit/set/append values in grid cells at runtime in code?
Thanks, Mark