(Forum Q & A Drop) DataGrid Module Column How do I know which time triggered?

xiaoxiao2021-03-05  30

Http://www.cnblogs.com/lovecherry/archive/2005/04/04/131787.html said how to trigger your own events in the DataGrid template column, netizens ask how to know which to click? To get information in this. That line DataGridItem is

(DROPDOWNLIST) Sender .parent)

? not because of

((Checkbox) (Checkbox) .parent) is TableCell, which should be true.

(DROPDOWNLIST) Sender .parent.parent)

What happened to you, what happened. Output line number:

Response.write ((DROPDOWNLIST) ((DROPDOWNLIST) Sender .parent.parent) .ItemIndex);

output value:

Response.write ((DROPDOWNLIST) ((DROPDOWNLIST) Sender .parent.parent) .Cells [

0

] .Text);

转载请注明原文地址:https://www.9cbs.com/read-33896.html

New Post(0)