Posted By

blackf0rk on 03/12/09


Tagged

page function call aspx masterpage


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Scooter


Call a Function in your MasterPage from your .aspx page


 / Published in: VB.NET
 

URL: http://codefinds.blogspot.com/2008/08/call-function-in-your-masterpage-from.html

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.