R
Richard Myers
Howdy,
Im setting the imageUrl of a templated column of a datagrid in the
ItemCreated event. The image changes depending on the status of a customer
record being displayed in the grid. Somethings i cant validate for on the
client and do so instead on the server. If an input is invalid i post pack
to client.
However because the user interacts with the grid i dont rebind when i
postback and so consequently the item created event is not fired and so my
status indicator images do not display anything but the empty square <img>
im sure you've all seen many times before in general websurfing.
Clearly my design is flawed as im enabledviewstate = true but to zero effect
and i cant find anyone else with the same problem. aving said that my
current algorithm doesn;t seem to convoluted.
Any tips for persisting my images on postback?
TIA
Richard
Im setting the imageUrl of a templated column of a datagrid in the
ItemCreated event. The image changes depending on the status of a customer
record being displayed in the grid. Somethings i cant validate for on the
client and do so instead on the server. If an input is invalid i post pack
to client.
However because the user interacts with the grid i dont rebind when i
postback and so consequently the item created event is not fired and so my
status indicator images do not display anything but the empty square <img>
im sure you've all seen many times before in general websurfing.
Clearly my design is flawed as im enabledviewstate = true but to zero effect
and i cant find anyone else with the same problem. aving said that my
current algorithm doesn;t seem to convoluted.
Any tips for persisting my images on postback?
TIA
Richard