G
Guest
Hi All,
I have created a custom DataList web custom control, which populates data
from a dataset.
This dataset is available at runtime and exposed as property by my custom
control.
During preRender event of custom control, i populate Column Headers, Item
Data from the DataSet using CustomTemplate class for my inner DataList
control.
I have created BaseTemplate class, that extends ITemplate interface to
populate these values.
Now in my DataList, i need to display a link per row, that raises an event
based on the row index.
I am creating these links in BaseTemplate, when i create all the item data
rows.
Please suggest me how i can do this, as the links don't fire the associated
eventhandler that ware declared in BaseTemplate class itself.
I have created a custom DataList web custom control, which populates data
from a dataset.
This dataset is available at runtime and exposed as property by my custom
control.
During preRender event of custom control, i populate Column Headers, Item
Data from the DataSet using CustomTemplate class for my inner DataList
control.
I have created BaseTemplate class, that extends ITemplate interface to
populate these values.
Now in my DataList, i need to display a link per row, that raises an event
based on the row index.
I am creating these links in BaseTemplate, when i create all the item data
rows.
Please suggest me how i can do this, as the links don't fire the associated
eventhandler that ware declared in BaseTemplate class itself.