This is a migrated thread and some comments may be shown as answers.

2010 Q1 ItemDataBound event argument changed?

0 Answers 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 29 Mar 2010, 07:46 PM
Did the GridItemEventArgs change for the edit click in the ItemDataBound event?  I copied some code from a project that was using 2009 Q3 and after a couple minor changes, it didnt work the same.  There is an ItemDataBound If statement that checks the e.Item type where it is of type GridEditFormItem (I beleive it uses GridEditableItem also in that project), but now in the 2010 Q1 version it seems to always be passing a GridDataItem (edit and insert clicks) 

Was there a change, or am I just misunderstanding what the GridItemEventArgs object type is supposed to be?



EDIT:  nm I am an idiot, my "minor changes" I replaced the editMode="InPlace" and it needs to be "EditForms" to pass the GridEditFormItem

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Ryan
Top achievements
Rank 1
Share this question
or