<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Master Pages, Themes and Navigation Controls</title><link>http://forums.asp.net/139.aspx</link><description>Discussions of MasterPages, Themes, and other page-related features. &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=164&amp;amp;c=30" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Controls Disappear: MasterPage, LinkButton &amp; SiteMapPath Debugging</title><link>http://forums.asp.net/thread/1048328.aspx</link><pubDate>Sun, 11 Sep 2005 03:25:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1048328</guid><dc:creator>clintonG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1048328.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1048328</wfw:commentRss><description>I'm killing this topic for lack of support.&lt;BR&gt;I've chosen to use the new menu control for navigation.&lt;BR&gt;</description></item><item><title>Re: Controls Disappear: MasterPage, LinkButton &amp; SiteMapPath Debugging</title><link>http://forums.asp.net/thread/1045059.aspx</link><pubDate>Wed, 07 Sep 2005 21:53:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1045059</guid><dc:creator>clintonG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1045059.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1045059</wfw:commentRss><description>&lt;P dir=ltr&gt;Hello - it sounds like you are correct but the&amp;nbsp;PostBack tests are confusing.&lt;BR&gt;&lt;BR&gt;I ran the following PostBack tests...&lt;BR&gt;&lt;BR&gt;// Page_Load MasterPage.cs&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(IsPostBack)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write("MasterPage: WasPostBack");&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(!IsPostBack)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write("MasterPage: WasNotPostBack");&lt;BR&gt;&lt;BR&gt;// Page_Load ContentPage.cs&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(IsPostBack)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write("ContentPage: WasPostBack");&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(!IsPostBack)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write("ContentPage: WasNotPostBack");&lt;BR&gt;&lt;BR&gt;// Returned when HomePage.aspx loads the first instance of the MasterPage&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MasterPage: WasNotPostBack&lt;BR&gt;&lt;BR&gt;// Returned when LinkButton1&amp;nbsp;is used to set Panel1.Visible = true displaying LinkButton2&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MasterPage: WasPostBack&lt;BR&gt;&lt;BR&gt;// Returned when LinkButton2 click event is raised and&amp;nbsp;Panel1/LinkButton1 dissapear&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ContentPage: WasNotPostBack&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MasterPage: WasNotPostBack&lt;BR&gt;&lt;BR&gt;Background Information:&lt;BR&gt;&lt;BR&gt;The LinkButton2 PostBackUrl = "~/dir/contentpage.aspx"&amp;nbsp;property is set in&amp;nbsp;the Page_Load event of the MasterPage.&amp;nbsp;&lt;BR&gt;When the LinkButton2 click event is raised from the MasterPage the value of the PostBackUrl property loads&amp;nbsp;the content page. I do not know the internal navigation page transfer mechanism used when the PostBackUrl property is set.&amp;nbsp; I'm assuming it is the Server.Transfer method which I was using directly in the LinkButton2 click event before trying to use the&amp;nbsp;PostBackUrl.&lt;BR&gt;&lt;BR&gt;How could the content page load if there is no PostBack? &lt;BR&gt;&lt;BR&gt;What can I try next?&lt;/P&gt;</description></item><item><title>Re: Controls Disappear: MasterPage, LinkButton &amp; SiteMapPath Debugging</title><link>http://forums.asp.net/thread/1044540.aspx</link><pubDate>Wed, 07 Sep 2005 14:52:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1044540</guid><dc:creator>dannychen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1044540.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1044540</wfw:commentRss><description>It sounds like you are clicking a link on the page that takes you to another page which happens to use the same masterpage.&amp;nbsp; In that case, you are navigating and not posting back.&amp;nbsp; To show this, create a copy of your master page and change some of the content and then assign that as the masterpage to your 2nd page.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;Since it's a navigation action and not a postback, your entire page will load from scratch and not by postback.&amp;nbsp; That means the visibility of LinkButton2 will revert to it's default behavior.&amp;nbsp; &lt;BR&gt;--&lt;BR&gt;Danny&lt;BR&gt;</description></item><item><title>Controls Disappear: MasterPage, LinkButton &amp; SiteMapPath Debugging</title><link>http://forums.asp.net/thread/1039817.aspx</link><pubDate>Thu, 01 Sep 2005 23:16:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1039817</guid><dc:creator>clintonG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1039817.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1039817</wfw:commentRss><description>&lt;P&gt;In the MasterPage I've used a control (LinkButton1) in the 'header' region to function as a tab that when clicked will display another control (LinkButton2). LinkButton2 is located within a panel (Panel1)&amp;nbsp;which allows me toggle visibility on and off using click events.&lt;/P&gt;
&lt;P&gt;When LinkButton2 is clicked it loads content as expected but LinkButton2 also disappears when it is clicked after the page is posted back which must occur when a content page is loaded into the MasterPage ContentPlaceHolder.&lt;BR&gt;&lt;BR&gt;LinkButton2 appears in the Trace control tree and when displayed by a LinkButton1 click event LinkButton1 has Render Size and View State size values. When LinkButton2 is clicked to load the content it disappears as I've explained and its&amp;nbsp;Render Size and View State values are zeroed out of the Trace control tree.&lt;/P&gt;
&lt;P&gt;I've tried 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. &lt;/P&gt;
&lt;P&gt;What could I be missing?&lt;/P&gt;</description></item></channel></rss>