As Jurjen pointed out, ADD HANDLER works,
OR - Create a page-level WITHEVENTS variable
in either case, be sure the dynamic control is created on all post-back
operations. If you don't, the event won't be trapped.
If you are referring to client-side (java script):
MyControl.Attributes.item("OnClick") = "return MyFunction();"
G.L.
"Hugo Flores" <hu*********@ge.com> wrote in message
news:01****************************@phx.gbl...
Hi,
I create a LinkButton in runtime, and I want to be able to
access a function when a user clicks on the generated link
in the page.
My problem is that I don't know how to asociate the
function to the link in runtime.
Any one knows this?