collecting the information of a custom DataBoundControl

S

sloan

I have successfully gotten thru and coded up a basic

MyDataBoundCntl : DataBoundControl



Imagine I have a list of 3 people.

John

Mary

Joe



The output of my control is a table, with 3 rows.

By their name, I've added a checkbox ( Checkbox cb = new Checkbox(); the
I add it to the cell, the cell to the row, the row to the table ).



So the output looks perfect.

John [ ]
Mary [ ]
Joe [ ]


_Click Here_



where Click Here is a linkbutton (asp.net) and of course a href on the page.

(right now, click here is not a part of the control, but rather a seperate
button I put on the page)

Ok.... I got all that........

Now I want to collect which checkboxes were checked.

I'm stuck. And my googling keeps bringing up 1.1 stuff, which may or may
not be helpful.



What's the next step.? Example url's are ok .........
 

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
473,770
Messages
2,569,586
Members
45,084
Latest member
HansGeorgi

Latest Threads

Top