I have a master page that contains elements for Ajax and certain standard controls that I do not wish to have to copy to every page on my site (hence the master!). However, these controls need a sub for an OnClick method. Now this method is edited differently on every page in the site. For example:
MasterPage
Sub link1_click
...
End Sub
asp:linkButton id="link1" onclick="link1_click"..
ContentPage
Sub link1_click
...
End Sub
I only do inline coding, so you know. I have currently tried this, which fails:
MasterPage
Public overridable sub..
Content
Public Overloads Overrides Sub..
How do I make it work?