G
Guest
Hi,
I am trying to edit item in a datagrid. On clicking the edit button, the
column I want to enable editing is changed into a text box, which is fine.
But I can not retrieve the value of cell[0]. Which in my case is the rowid
in the table. I can see the value, but when I try this in the onEditItem
function...
e.Item.Cells[0].Text
it comes out blank.
But the same line 'e.Item.Cells[0].Text' returns a correct value on a
'ItemDataBound' function.
What am I doing wrong? Please help.
Thnx
I am trying to edit item in a datagrid. On clicking the edit button, the
column I want to enable editing is changed into a text box, which is fine.
But I can not retrieve the value of cell[0]. Which in my case is the rowid
in the table. I can see the value, but when I try this in the onEditItem
function...
e.Item.Cells[0].Text
it comes out blank.
But the same line 'e.Item.Cells[0].Text' returns a correct value on a
'ItemDataBound' function.
What am I doing wrong? Please help.
Thnx