Posted By

blackf0rk on 03/12/09


page function call aspx masterpage

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Call a Function in your MasterPage from your .aspx page

 / Published in: VB.NET


If you're going to be using a common function throughout the Web site, you can include the function in your MasterPage and gain access to it from each aspx that inherits from this MasterPage; like so:

  1. CType(Me.Master, MasterPages_MasterPageName).FunctionOrSubName()

Report this snippet  

You need to login to post a comment.