J
James Hawes
I have created a templated control. As far as the control is concerned I am
able to put any HTML inside each template. However, I can't seem to figure
out how to embed a server control to it. When I compile and run it shows
up, but I can't wire up any kind of event to it. I have searched all over
the place for help. Could someone please point me in the right direction?
I'd be glad to post some code, but this control is copy-righted by the
company I work for, so I'll need to tweak it a little. I've also tried
touse the find control functions. This does find the control without
issue, however, I get a NullReference value exception when I try to add an
event to it, or even simply try to change the text. Essentially I want to
be able to add a button to one of my templates and then wire that button up.
Thanks,
James
able to put any HTML inside each template. However, I can't seem to figure
out how to embed a server control to it. When I compile and run it shows
up, but I can't wire up any kind of event to it. I have searched all over
the place for help. Could someone please point me in the right direction?
I'd be glad to post some code, but this control is copy-righted by the
company I work for, so I'll need to tweak it a little. I've also tried
touse the find control functions. This does find the control without
issue, however, I get a NullReference value exception when I try to add an
event to it, or even simply try to change the text. Essentially I want to
be able to add a button to one of my templates and then wire that button up.
Thanks,
James