C
clintonG
Hello Fellow Masochists ;-)
In the MasterPage I've used a control (LinkButton1) in the 'header' region
to function as a tab that displays another control (LinkButton2).
LinkButton2 is located within a panel (Panel1) and I control the display of
LinkButton2 by modifying the Panel1.Visibile property.
When LinkButton2 is clicked it loads content as expected but LinkButton2
disappears after its click event is raised and the page is posted back to
get and load the content page into the MasterPage ContentPlaceHolder.
LinkButton2 appears in the Trace control tree and when displayed by the
LinkButton1 click event LinkButton2 has Render Size and View State size
values. When LinkButton2 is clicked to load the content page LinkButton2
disappears from the HTML source, it is not displayed by the UI and its
Render Size and View State values are zeroed out of the Trace control tree.
I've tried using the FindControl method and creating a Property both of
which will return values for the LinkButton2.ID and
LinkButton2.NamingContainer but I can not access or set
LinkButton2.Visibility or other properties because the control has somehow
disappeared. A similar behavior occurs with the SiteMapPath.
What could I be missing?
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
In the MasterPage I've used a control (LinkButton1) in the 'header' region
to function as a tab that displays another control (LinkButton2).
LinkButton2 is located within a panel (Panel1) and I control the display of
LinkButton2 by modifying the Panel1.Visibile property.
When LinkButton2 is clicked it loads content as expected but LinkButton2
disappears after its click event is raised and the page is posted back to
get and load the content page into the MasterPage ContentPlaceHolder.
LinkButton2 appears in the Trace control tree and when displayed by the
LinkButton1 click event LinkButton2 has Render Size and View State size
values. When LinkButton2 is clicked to load the content page LinkButton2
disappears from the HTML source, it is not displayed by the UI and its
Render Size and View State values are zeroed out of the Trace control tree.
I've tried using the FindControl method and creating a Property both of
which will return values for the LinkButton2.ID and
LinkButton2.NamingContainer but I can not access or set
LinkButton2.Visibility or other properties because the control has somehow
disappeared. A similar behavior occurs with the SiteMapPath.
What could I be missing?
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/