Load control once from MasterPage
Posted on 2010-09-24
I have a site that we allow peopel to set their own home page
All pages use a single Master file
In the MasterPage VB code I've declared a Protected Variable at the top
Partial Class MasterPagePep
Public _intro As Boolean
In the Page_Load event I have this...
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
If _intro = True Then
RadToolTip2.Enabled = False
RadToolTip2.Enabled = True
_intro = True
However... the Tooltip shows every page I go to.
I just want it to load one time on the web site loading.