problem with OnEditItem?

g_r_a_robinson

Regular
Joined
Jan 13, 2004
Messages
71
I am using the ItemDataBound event to format some of the colours in my datagrid depending on the contents of the row, it works great.

Heres my problem when I use the OnEditItem I lose all of the properties of my datalist. Is there some way to stop or deter my OnEditItem command from interfering with the rest of my datalist.
 
Actually Its not my OnEdit Item. On further investigation I think its a matter of the viewstate not being on for the ItemDataBound event. IE the datrgrid retains all of its regular info in viewstate but its not retaining the changes made by the ItemDataBound event. Does anybody know anything about this?

Thanks
 
Back
Top