I've deleted the sub saving the project and adding the public sub back
again - no joy
How do I declare a sub of a master page which is visible to the conten
pages please?
> The content pages which inherit from the master page
The content pages inherit from the MasterPage?
> do not now see the public sub and give a compile error
And what is the compile error?
> How do I declare a sub of a master page which is visible to the content
> pages please?
Have you forgotten to reference the Master Page through the Page.Master
property or set the @MasterType directive in the aspx file...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
If TypeOf Me.Page.Master Is MyMasterPageType Then
CType(Me.Page.Master, MyMasterPageType).MyPublicMethod()
End If
If that's not what you're trying to do please post some code samples so I
can get a better idea.
Hope that helps,
Fernando Rodriguez
"NotTooSerious" <ia...@ava.co.uk> wrote in message
news:ad5414d6-28db-451b...@24g2000hsh.googlegroups.com...