T
Tarun Mistry
Hi guys,
I have a Repeater control which is set to trigger on the "OnItemCreated"
event.
Within the event handler, I would like to add a hyperlink control into the
HeaderTemplate, I managed todo this by simply adding a new control
(e.Item.Controls.add(newHyperLink). However, I would then like to append the
seperator template which is defined within the Repeater. This is in the form
of an ITemplate.
By doing..
ITemplate i = (ITemplate)e.Items.FindControl("SeperatorTemplate") I am able
to get the template, but I cannot add it via the same means as the HyperLink
as it is not a control. What should I do?
Please help.
Kind regards
Taz
I have a Repeater control which is set to trigger on the "OnItemCreated"
event.
Within the event handler, I would like to add a hyperlink control into the
HeaderTemplate, I managed todo this by simply adding a new control
(e.Item.Controls.add(newHyperLink). However, I would then like to append the
seperator template which is defined within the Repeater. This is in the form
of an ITemplate.
By doing..
ITemplate i = (ITemplate)e.Items.FindControl("SeperatorTemplate") I am able
to get the template, but I cannot add it via the same means as the HyperLink
as it is not a control. What should I do?
Please help.
Kind regards
Taz