binding combobox control to datagrid

G

geeta

,

i am facing problem with attaching combobox to a cell of a datagrid. namely
to the cell 3rd row 4 column..
then the combobox should display that content of that particular cell...

can anyone help me in this

Thanks
Geeta
 
E

Eliyahu Goldin

Geeta,

You need to handle PreRender event. In the event handler you can navigate to
the required cell, create a control (there is no compobox in asp.net, do you
mean a dropdown list? a textbox?) and add it to the cell's Controls
collection.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,074
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top