A
a
Hi,
I have a CustomControl that is essentially a WebControls.Table (TEKTable).
You tell it how many columns, and it renders UserControls (passed in via an
ArrayList) in that number of columns, and however many rows it takes.
My UserControls typically have buttons on them. I can't seem to get the
event to bubble up. TEKTable is in a UserControl project, so it won't
always be aware of the types located in the web app. SO, when I try to add
an event handler to the event of the UserControl, it won't do it. And I
can't do a CType, because I don't want to be able to use this table to host
many different controls.
How can / should I set this up? Do I need a TEKTable that is designed to
hold each diff. UserControl I will ever use?
I have a CustomControl that is essentially a WebControls.Table (TEKTable).
You tell it how many columns, and it renders UserControls (passed in via an
ArrayList) in that number of columns, and however many rows it takes.
My UserControls typically have buttons on them. I can't seem to get the
event to bubble up. TEKTable is in a UserControl project, so it won't
always be aware of the types located in the web app. SO, when I try to add
an event handler to the event of the UserControl, it won't do it. And I
can't do a CType, because I don't want to be able to use this table to host
many different controls.
How can / should I set this up? Do I need a TEKTable that is designed to
hold each diff. UserControl I will ever use?