<?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>Search results matching tag 'MasterPages'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=MasterPages&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'MasterPages'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>WebPartZone styles: rendered inline or rendered in the header - how do I choose?</title><link>http://forums.asp.net/thread/3544085.aspx</link><pubDate>Wed, 02 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3544085</guid><dc:creator>bepnewt</dc:creator><description>&lt;p&gt;&lt;b&gt;Background:&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m working on a site that has 1 page in it with a user control that contains a WebPartManager and 2 WebPartZones.&amp;nbsp; The WebPartZones have a lot of style information defined such as MenuLableHoverStyle, MenuVeryHoverStyle, TitlebarVerbStyle, etc.&lt;/p&gt;&lt;p&gt;The way it is now, when the HTML is rendered, the styles are inline in each of the HTML elements that are created for the WebParts.&amp;nbsp; Everything works fine.&lt;/p&gt;&lt;p&gt;I&amp;#39;m converting the site to use a MasterPage.&amp;nbsp; When I put the page into a MasterPage, the styles are now rendered at the top of the page inside STYLE tags and each of the elements is given a classname that matches up with style definitions in the STYLE tags.&amp;nbsp; This shouldn&amp;#39;t be a problem, and it looks fine in Firefox and Chrome, but not in IE(8).&amp;nbsp; IE8 is ignoring the style definitions that are now in CSS at the top of the page.&lt;/p&gt;&lt;p&gt;I&amp;#39;m not asserting that the MasterPage is what is causing this.&amp;nbsp; That just happened to be what I was doing when the rendering change happened.&amp;nbsp; I also fixed some bad HTML at the same time involving mismatched tags, etc.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;From my research, this is what I&amp;#39;ve decided is the issue:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;The classnames that are created for the styles all start with &amp;quot;_&amp;quot; ( underscore character ).&amp;nbsp; Based on multiple things I read, this is not a legal character to start a class or ID name with and IE is respecting this &amp;quot;rule&amp;quot; by not applying the styles defined in the STYLE tags to the elements.&lt;/p&gt;&lt;p&gt;I use the Developer Tools built into IE8 and remove the &amp;quot;_&amp;quot; from one of the class names and from the style definition and *poof*, it renders with the correct style.&amp;nbsp; I can also get it to use the styles if I change the Browser Mode to IE7 and change the Document Mode to Internet Explorer 7 Standards.&lt;/p&gt;&lt;p&gt;&lt;b&gt;What I would like to do:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;I would like to either:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Force the styles to render inline like they used to before the change to a MasterPage&lt;/li&gt;&lt;li&gt;Force the classnames NOT to start with an &amp;quot;_&amp;quot; character&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Is there any way to do this?&amp;nbsp; Or, if my research is flawed, do you have any insight on how to get IE8 to render the defined styles in the WebPartZone?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;More information about the site:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;This is just random information that may or may not help.&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The site is being developed in VS 2008.&lt;/li&gt;&lt;li&gt;The solution has been upgraded from a VS 2005 site at some point. &lt;br /&gt;&lt;/li&gt;&lt;li&gt;The web site IS as &amp;quot;Web Site&amp;quot; not a &amp;quot;Web Application&amp;quot;.&lt;/li&gt;&lt;li&gt;The WebPartManager and WebPartZone controls are from the System.Web (2.0.0.0) assembly which is in the GAC.&lt;/li&gt;&lt;li&gt;The WebPartManager is ALWAYS in WebpartManager.BrowseDisplayMode.&lt;/li&gt;&lt;li&gt;Personalization is NOT enabled on the WebPartManager.&lt;/li&gt;&lt;li&gt;I tried using the CSSClass property of the various WebPartZone properties.&amp;nbsp; I created my own classes and put them in a Style Sheet, but that didn&amp;#39;t work.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any help is appreciated.&amp;nbsp; I had to revert this page back to not use our MasterPage for now, but would really prefer it to be converted.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;-BEP&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Issue with master page and content page</title><link>http://forums.asp.net/thread/3523614.aspx</link><pubDate>Fri, 20 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3523614</guid><dc:creator>visitmohanraj</dc:creator><description>&lt;p&gt;&lt;font face="Arial" color="#000000"&gt;hai dude!&lt;br /&gt;&lt;br /&gt;here i have control textbox1 and button1 in content page,now i want to get the value of textbox in button click event and pass the value to java script function which is written in my master page.. how do i do it?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;its very urgent pls help me?&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Issue with master page and content page</title><link>http://forums.asp.net/thread/3523864.aspx</link><pubDate>Fri, 20 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3523864</guid><dc:creator>visitmohanraj</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi i have the textbox and button controls in my content page and one more i have tried this code before but it showing &amp;quot;textbox1&amp;quot; does not exists how do i refer content page in my master page&amp;nbsp;&lt;/p&gt;</description></item><item><title>Side Navigation for multiple page</title><link>http://forums.asp.net/thread/3425500.aspx</link><pubDate>Fri, 25 Sep 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3425500</guid><dc:creator>bfancett</dc:creator><description>&lt;p&gt;&amp;nbsp;I have a web application that currently has a main navigation, which is part of the Master Page.&amp;nbsp; I now have a new requirement to add another&amp;nbsp;section within the system.&lt;/p&gt;
&lt;p&gt;Users will get to the new application from the main navigation menu.&amp;nbsp; When they go to the new section of the application, I need another navigation menu (verticle side bar) for navigating the new portion of the application which will have multiple pages.&lt;/p&gt;
&lt;p&gt;So, I need to keep my exisitng Master Page, which will be used for the new section as well, and keep the existing main navigation menu which is part of the Master page, but also have another Navigation menu that shows up on all of the pages for new section only.&amp;nbsp; How can I have a side bar navigation menu for only select pages?&lt;/p&gt;</description></item><item><title>Removing all masterpages</title><link>http://forums.asp.net/thread/3286723.aspx</link><pubDate>Fri, 10 Jul 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3286723</guid><dc:creator>ScreamForMe</dc:creator><description>&lt;p&gt;I am building a web app in conjunction with a consulting group hired by my company. I am more of a designer so to me it makes the most sense to have masterpages for all of the pages on my site that require a consitent look and feel. That way if I need to make a change the number of files I have to touch is minimized. &lt;/p&gt;&lt;p&gt;One of the consultants is trying to get me to scrap the master pages because he says that the various pages will require different javascript calls at page load and using the master page will cause the javascripts in the header and body tag onload event to load on every page using the master page.&lt;/p&gt;&lt;p&gt;Isn&amp;#39;t there a way to invoke javascript calls in the page load event? I was thinking ClientScript.RegisterStartupScript might be the way to go but I wasn&amp;#39;t able to get it to work and the consultant said that it wouldn&amp;#39;t work.&lt;/p&gt;&lt;p&gt;Can anyone suggest the proper method for calling different javascript functions from various pages that use master pages without having it happen everytime a page loads. I really want to continue to use the master page feature of .NET because of the relative ease of maintenance.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please let me know if this makes sense or not.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>.NET page not rendering with proper data on certain computers</title><link>http://forums.asp.net/thread/3228932.aspx</link><pubDate>Fri, 12 Jun 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3228932</guid><dc:creator>soccerwiz13</dc:creator><description>&lt;p&gt;I am having a strange issue that is only affecting certain computers. The three scenarios are listed below:&lt;/p&gt;
&lt;p&gt;1) I have a client that is trying to access a number of pages that all contain the same master page.&amp;nbsp; The master page loads, but none of the content that is supposed to be in the master page is loading.&amp;nbsp; However, the page and content loads fine for me when I access the exact same page from the other side of the country. I did update this Master Page on the server last night with a new AutoCompleteExtender and some javascript.&amp;nbsp; Could the page be cached out on the Internet somewhere and just not loading properly for them? I had them clear their cache, I restarted the server, and had them restart their network, all to no avail. All other pages not based on this master page are rendering fine.&lt;/p&gt;
&lt;p&gt;2) This same client was accessing another page that has a query string parameter of ClientID=5.&amp;nbsp; The Master page was loading the proper client name, but the page within the Master Page was loading content for a different client.&amp;nbsp; It seemed to choose the other clients data to show randomly.&amp;nbsp; At the same time, I accessed this same page via my iPhone, and the proper clients data was showing on the page.&amp;nbsp; What could cause a page to not render a control properly, even though it is rendering the Master Page properly.&amp;nbsp; My ObjectDataSource on the page is based on the query string parameter, so it should reload the page every time and display the proper data. The next day, everything worked fine again with no changes to the system.&lt;/p&gt;
&lt;p&gt;3) On one of my pages I have several controls, all based on a variable on the page that I pass to each control.&amp;nbsp; On one of my clients, one of the controls on the page was not showing any data.&amp;nbsp; We looked at the data from a different page, and it was still all there, but it was just not rendering for this one client.&amp;nbsp; The other controls on the same page were all rendering properly, and the data was still there and should be shown on the page.&amp;nbsp; Other people&amp;nbsp;in the same office were logged in to the same system under different accounts, and their data was showing fine.&amp;nbsp; The next day, everything worked fine again with no changes to the system.&lt;/p&gt;
&lt;p&gt;This is a .NET 3.5 system built in C#, hosted on a Windows 2008 machine with IIS7.&amp;nbsp; The browser the client is using is IE7.&amp;nbsp; Any ideas what can be causing any of this? Is data being cached out on the web somewhere that is causing my pages to not load properly? Could it be a problem with my IIS setup?&amp;nbsp; The system has been up and running for about 8 months, but this is just happening in the last 2-3 weeks. Any help is greatly appreciated.&lt;/p&gt;</description></item><item><title>Horizontal Sub Menu Items</title><link>http://forums.asp.net/thread/2976465.aspx</link><pubDate>Mon, 02 Mar 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2976465</guid><dc:creator>jyothim</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; I want to Set MenuItems&amp;nbsp;Orientation is&amp;nbsp;&amp;nbsp;Horizontal. For example&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Menu&amp;nbsp;Orientatin is Horizontal&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Menu1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp; Menu2&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;| &amp;nbsp;Menu3&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Then SubMenuItem Orientaion is also Horizontal ------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MenuItem1 | MenuItem2 | MenuItem3&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Please send me some examples of this Menu. Urgent.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Linking dwt to masterpages</title><link>http://forums.asp.net/thread/2963729.aspx</link><pubDate>Tue, 24 Feb 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2963729</guid><dc:creator>donto</dc:creator><description>&lt;p&gt;How would i link a dwt to a masterpage so if i amend the dwt the masterpage will update automatically aswel. The reason for this is so i can make amends to the dwt and see the layout whereas with a masterpage you cant. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;(btw im using dreamweaver for dwt and VS for masterpages) &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;many thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>No items selected in listbox after cross page postback</title><link>http://forums.asp.net/thread/2944820.aspx</link><pubDate>Mon, 16 Feb 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2944820</guid><dc:creator>Shub-Niggurath</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m having some difficulty with reading values from a multiple select ListBox after it has been posted to another page. All my other list boxes are working fine, just the one with multi select enabled isn&amp;#39;t working. When iterating through the items collection every element has selected = false.&lt;/p&gt;&lt;p&gt;&amp;nbsp;here is the code im using:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;ContentPlaceHolder cph = (ContentPlaceHolder)PreviousPage.Master.FindControl(&amp;quot;Main&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (cph != null) {&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; TextBox jtitle = (TextBox)cph.FindControl(&amp;quot;jtitle&amp;quot;);&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; TextBox keywords = (TextBox)cph.FindControl(&amp;quot;keywords&amp;quot;);&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; TextBox user = (TextBox)cph.FindControl(&amp;quot;user&amp;quot;);&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; ListBox sector = (ListBox)cph.FindControl(&amp;quot;sector&amp;quot;);&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; ListBox source = (ListBox)cph.FindControl(&amp;quot;source&amp;quot;); &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;... (rest of form logic - not really important) ...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;int l_age = age.SelectedIndex;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArrayList l_sectors = new ArrayList();&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; int s = 1;&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; foreach (ListItem l in sector.Items) {&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (l.Selected) l_sectors.Add(s);&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; s++;&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; } &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I am under the impression that after the foreach loop has finished, the arraylist will contain the indexes of the selected items, however no matter how many are selected, the arraylist is always empty. looking through the properties of the object when debugging, i can see that none of them have selected = true. &lt;/p&gt;&lt;p&gt;I am most confused as the other listboxes are working fine (with selectedvalue).&lt;/p&gt;&lt;p&gt;no databinding takes place in the load method of the page, infact, there are no bound controls on the page being posted to. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Tom. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem with left hand treeview menu</title><link>http://forums.asp.net/thread/2665093.aspx</link><pubDate>Mon, 06 Oct 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2665093</guid><dc:creator>saif016</dc:creator><description>&lt;p&gt;i&amp;#39;ve a web.sitemap like this &lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;&lt;br /&gt;&lt;b id="2"&gt;2    &lt;/b&gt;&amp;lt;&lt;span class="tag"&gt;siteMap&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="3"&gt;3    &lt;/b&gt;    &amp;lt;&lt;span class="tag"&gt;siteMapNode&lt;/span&gt; url=&amp;quot;&amp;quot; title=&amp;quot;&amp;quot;  description=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;&lt;b id="4"&gt;4    &lt;/b&gt;        &amp;lt;&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&lt;span class="attr"&gt; url=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/A.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; title=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;A&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt;  description=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;A&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;&lt;b id="5"&gt;5    &lt;/b&gt;        &amp;lt;&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&lt;span class="attr"&gt; url=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/B.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; title=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;B&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; description=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;B&amp;quot;&lt;/span&gt;/&amp;gt;&lt;br /&gt;&lt;b id="6"&gt;6    &lt;/b&gt;        &amp;lt;&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&lt;span class="attr"&gt; url=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/C.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; title=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;C&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt;  description=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;C&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="7"&gt;7    &lt;/b&gt;            &amp;lt;&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&lt;span class="attr"&gt; url=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/C1.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; title=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;C1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; description=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;C1 Page&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;&lt;b id="8"&gt;8    &lt;/b&gt;            &amp;lt;&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&lt;span class="attr"&gt; url=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/C2.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; title=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;C2&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; description=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;C2 Page&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;&lt;b id="9"&gt;9    &lt;/b&gt;            &amp;lt;&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&lt;span class="attr"&gt; url=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/C3.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; title=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;C3&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; description=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;C3 Page&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;&lt;b id="10"&gt;10   &lt;/b&gt;        &amp;lt;/&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="11"&gt;11   &lt;/b&gt;        &amp;lt;&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&lt;span class="attr"&gt; url=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/D.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; title=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;D&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt;  description=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;D&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="12"&gt;12   &lt;/b&gt;            &amp;lt;&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&lt;span class="attr"&gt; url=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/D1.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; title=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;D1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; description=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;D1&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;&lt;b id="13"&gt;13   &lt;/b&gt;            &amp;lt;&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&lt;span class="attr"&gt; url=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/D2.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; title=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;D2&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; description=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;D2&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;&lt;b id="14"&gt;14   &lt;/b&gt;        &amp;lt;/&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="15"&gt;15   &lt;/b&gt;        &amp;lt;&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&lt;span class="attr"&gt; url=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/E.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; title=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;E&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt;  description=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;E&amp;quot;&lt;/span&gt; /&amp;gt;&lt;br /&gt;&lt;b id="16"&gt;16   &lt;/b&gt;    &amp;lt;/&lt;span class="tag"&gt;siteMapNode&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="17"&gt;17   &lt;/b&gt;&amp;lt;/&lt;span class="tag"&gt;siteMap&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp; also i&amp;#39;m using dataset in master aspx file as :&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;&lt;span class="tag"&gt;asp:SiteMapDataSource&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;SiteMapDataSource&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; StartFromCurrentNode=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;true&amp;quot;&lt;/span&gt;/&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;for left hand menu i used: &lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;&amp;lt;&lt;span class="tag"&gt;asp:TreeView&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;TreeView1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; DataSourceID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;SiteMapDataSource&amp;quot;&lt;/span&gt; &lt;br /&gt;&lt;b id="2"&gt;2   &lt;/b&gt; &amp;lt;/asp:TreeView&lt;/pre&gt;&lt;p&gt;i&amp;#39;m also using a header horizontal menu like : &lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;&amp;lt;&lt;span class="tag"&gt;asp:Menu&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Menu2&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; EnableViewState=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;false&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; SkinID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;mainMenuSkin&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="2"&gt;2    &lt;/b&gt;       &amp;lt;&lt;span class="tag"&gt;Items&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="3"&gt;3    &lt;/b&gt;               &amp;lt;&lt;span class="tag"&gt;asp:MenuItem&lt;/span&gt;&lt;span class="attr"&gt; NavigateUrl=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/A.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Text=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;A&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Value=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;A&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class="tag"&gt;asp:MenuItem&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="4"&gt;4    &lt;/b&gt;                &amp;lt;&lt;span class="tag"&gt;asp:MenuItem&lt;/span&gt;&lt;span class="attr"&gt; NavigateUrl=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/B.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Text=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;B&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Value=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;B&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class="tag"&gt;asp:MenuItem&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="5"&gt;5    &lt;/b&gt;                &amp;lt;&lt;span class="tag"&gt;asp:MenuItem&lt;/span&gt;&lt;span class="attr"&gt; NavigateUrl=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/C.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Text=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;C&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Value=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;C&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class="tag"&gt;asp:MenuItem&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="6"&gt;6    &lt;/b&gt;                &amp;lt;&lt;span class="tag"&gt;asp:MenuItem&lt;/span&gt;&lt;span class="attr"&gt; NavigateUrl=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;~/D.aspx&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Text=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;D&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Value=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;D&amp;quot;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class="tag"&gt;asp:MenuItem&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="7"&gt;7    &lt;/b&gt;      &amp;lt;/&lt;span class="tag"&gt;Items&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;b id="8"&gt;8    &lt;/b&gt; &amp;lt;/&lt;span class="tag"&gt;asp:Menu&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp;now my problem is when i click on C on my header menu the side menu comes like this:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="coloredcode"&gt;C&lt;br /&gt;  C1&lt;br /&gt;  C2&lt;br /&gt;  C3&lt;/pre&gt;&lt;p&gt;it&amp;#39;s completely ok, but when i click on left menu&amp;#39;s C1 then the left menu become only like :&lt;br /&gt;&lt;/p&gt;&lt;p&gt;C1&lt;/p&gt;&lt;p&gt;&lt;b&gt;can i make the left menu like&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;b&gt;C&lt;br /&gt;  C1&lt;br /&gt;  C2&lt;br /&gt;  C3&lt;/b&gt;&lt;/pre&gt;&lt;p&gt;&lt;b&gt;when i click on left menu&amp;#39;s C1 ??????????? i don&amp;#39;t want the whole tree on my page. is it possible? please help.....&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;please help. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>