Groups | Blog | Home
all groups > asp.net datagrid control > november 2003 >

asp.net datagrid control : Put a control in a Cell of DataGrid


fnadaus NO[at]SPAM netfective.com
11/12/2003 9:04:07 AM
Hello EveryBody,

i want to put Control in each Cell of my DataGrid,
i don't know if it's possible...

i have a table with 3 Rows and 7 Colums,
and i want to click for example in the (0,1) colums to do an action.

how i can do ?

need help, it's very hard !

Thanks,

Alvin Bruney
11/12/2003 11:21:34 AM
in your itemcreated event handler for your datagrid, add this code
e.item.cells[1].controls.add(new Textbox())

that's it.

regards

--


-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
[quoted text, click to view]

AddThis Social Bookmark Button