Author: abhishes | Posted on: 1/14/2010 1:24:51 PM | Views : 430

Hello All,
When I write the code
for Each HtmlAnchor a in Me.Master.FindControls("link" + i)
                      AddHandler e.OnServerClick, AddressOf OnClick

end for



I get an error that OnServerClick event is protected and I cannot access it.


The question is how do I dynamically add event handlers to HtmlAnchor controls?

...

Go to the complete details ...