/ 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:
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
CType(Me.Master, MasterPages_MasterPageName).FunctionOrSubName()
URL: http://codefinds.blogspot.com/2008/08/call-function-in-your-masterpage-from.html