Strange thing append,
whene the event UpdateRow is fired from a cell of a child band
the object RowEventArgs e is missing some information. in fact the e.Row.ParentRow is always Null.
So i can't refere to information in the parent row. and i need those informations to update correctly the subband row.
as a work around i can duplicate in an hidden row the information in the sub band row but it's somewhat heavy to duplicate this information whene i juste need the reference on the parent row.
Can you please let me know how you handled this, i have a similar situation. If you could post the code it would be of immense help.
Thanks
That's a good idea to submit as a feature request.
Maybe putting the grid into an WARP and using the WARP to handle the Add, Update and Delete callbacks would be a better for you than the grid's built in XmlLoadOnDemand? That way the grid would bind as it would in a regular postback.
Helen Emerson"]"This is done to help the performance of the ajax updates. "
"This is done to help the performance of the ajax updates. "
This is very legitimate and helping the performance is a very good thing. The probleme is, that sometime the info of the upper band are needed in order to complete the update. So my suggestion, is to put a property on the band or the column object telling to the grid to bind that information to the ajax.This can be usefull too for a single Band ajax grid with some Hidden fields, where the ajax update call was returning only the DataKeyfield and the data on visible fields.
The reason this is happening is because the grid doesn't want to bind to all the data again for an update so it just creates a fake row with all the cell information that you can use to process the update. This is done to help the performance of the ajax updates.