CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 9/21/2007 2:01:27 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 22 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
sharat80
Asp.Net User
Menu Control Help9/21/2007 2:01:27 PM

0/0

Hi everyone,

I created Master Page with Header, Menu Control, Content and Footer. In my menu control if I select About I have 4 options i.e company profile, Company Vision, Management team and awards. I Used 4 label control's for displaying respective data in About page like: The below is code behind for About.aspx.

protected void Page_Load(object sender, EventArgs e)
    {
        string type = Request.QueryString["type"].ToString();
        if (type.Equals("cp"))
        {
            cp.Visible = true;
        }
        else if (type.Equals("cv"))
        {
            cv.Visible = true;
        }
        else if (type.Equals("mt"))
        {
            mt.Visible = true;
        }
        else if (type.Equals("a"))
        {
            a.Visible = true;
        }
       
    }
}

In the same way I can display for other menu option as well but under one menu option I have 4 options and each option has some other options. Now I need to display the respective option data in the product page. In Product page I used some label controls in content place holder with some type and status. Now I need to know how to display the respective product page data.

Thanking you in advance for your help,

Regards,

Sharat. 

ziqbalbh
Asp.Net User
Re: Menu Control Help9/24/2007 4:35:55 AM

0/0

Hi,

Why don't you use similar approach this will work. 


Zafar Iqbal
VP Technology
Hansvits


** Please mark as ANSWER if my reply helped you
sharat80
Asp.Net User
Re: Menu Control Help9/24/2007 5:54:03 AM

0/0

 Hi,

 I cant see the approach. Plz specify.

Amanda Wang - M
Asp.Net User
Re: Menu Control Help9/25/2007 6:17:45 AM

0/0

Hi

As your description, you want not to display some menuItems programmmativcally, right?

You can try to use the remove method to hide some menuitems.

For example:

 protected void Menu1_DataBound(object sender, EventArgs e)
    {
        MenuItem mi = this.Menu1.FindItem("MoviePage");
        this.Menu1.Items.Remove(mi);
    }
 Hope it helps.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
PCs for Dummies Quick Reference: Quick Reference Authors: Dan Gookin, Pages: 240, Published: 2007
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Sams Teach Yourself C# in 24 Hours Authors: James D. Foxall, Wendy Haro-Chun, Pages: 720, Published: 2002
Beginning Visual Web Developer 2005 Express: From Novice to Professional Authors: Paul Sarknas, Pages: 334, Published: 2005

Web:
CodeProject: Populating Menu Control in ASP.NET 2.0 - using ... An article on how to populate the Menu control in ASP. ... me error message .can any body help me to work this menu item click event( work in single click). ...
Asp.Net Menu Control Binding with XMLDataSource - Binding ... This article explains the concept of building dynamic navigation control in web applications using Asp.Net Menu Control binding with XMLDataSource.
ASP.NET Menu Control Overview The ASP.NET Menu control allows you to develop both statically and dynamically displayed menus for your ASP.NET Web pages. You can configure the contents of ...
Flex 3 - Menu control The Menu control is a pop-up control that contains a menu of ... You use ActionScript to create a Menu control that pops up in response to a user action, ...
ASP.NET AJAX Menu Control: Drop Down JavaScript Menu – Office 2007 ... Drop-down Javascript Menu Control for ASP.NET AJAX by Telerik - vendor of ASP. ... you will need a popup menu for context help within your application, ...
CodeProject: JavaScript Context Menu Control. Free source code and ... Jun 9, 2008 ... Cross-browser JavaScript context menu control for web applications.; ... to see what i want you can see microsoft.com Plz help ...
Todd Kloots: "The YUI Menu Control" on Yahoo! Video The YUI Menu Control comprises three rich, powerful UI tools. In this 25 minute video, YUI Menu developer Todd Kloots ... Change Contact Options. Help ...
ASP.NET 2.0: Using the Menu Control NET 2.0 controls is the Menu Control. Once you get past the short learning curve , its easy to set up and maintain, and highly customizable. ...
ASP.NET Menu Control Option Help - .NET ASP ASP.NET Menu Control Option Help. Get answers to your questions in our .NET ASP forum.
asp.net help: Menu Control Simple Example Here i show a simple example of Menu control. Web.sitemap ... Then place a SiteMapDataSource Control and a Menu Control. ... Bookmark asp.net help ...

Videos:
BannedStory Chat Function Help Are you having the problem like many others where your chat bubble function isn't working? The problem is Adobe Air, the new version has some glitc...
Tutorial: Manipulating Your Start Menu in XP Tutorial: Manipulating Your Start Menu in XP In this tutorial you'll see how one man manipulates his Start menu folders and links. It's easy enough ...
www.Project-7.net www.Project-7.net + Compatable Games/3Rd Party Modifications * CS:S * DOD:S * CSPro V1.X + Aim Help System * Pure Vector Base...
Yu-Gi-Oh! Power of Chaos JOEY THE PASSION All Cards Vista PLEASE READ THE DESCRIPTION. http://buianhtuan.wordpress.com/2007/06/04/download-yu-gi-oh-power-of-chaos/ Download EXE Patch: http://m0007.gamecopyw...
R4Z0Rz hack with LiNk http://rapidshare.com/files/140502771/R4Z0Rz..rar.html this is the hack http://rapidshare.com/files/140502771/R4Z0Rz..rar.html Have Fun! + Aim Help System * Pure Vector Based Aimbot - Fastest Aimbot Avail...
Calorie-Cutting For More Life And Health When you receive the Seal you will begin to control what you eat. New York City is reviving efforts to try to help by requiring restaurants to post t...
ATWT EMERGENCY: Help Save Nuke! Relationship may end UPDATE 4/1/08: P&G has closed the poll on May 1st. They obviously won't reveal the results or their strategy but I have faith that P&G won't be bulli...
Need Cheap Gas? Go To Mexico! Plus Eating Mc Donalds = Losing Weight?? getthedaily.com Up first, a Virginia man dropped 80 pounds in 6 months with the help of good ole’ Mickey-Ds. The 42-year-old ate from the healthier m...
Arf Remote Control Vehicles For Sale - Battle Tank - Discoun (safe arf link) http://www.kqzyfj.com/click-1264614-10428473 Arf Remote Control Vehicles For Sale - Battle Tank. Raiden Tec. Discount Hobby SuperSt...
Text Resizing in Your Browser - A Visual Guide A complete beginner's guide on how to resize text. Please feel free to embed this video on any accessibility statement/help page on your site if it w...




Search This Site:










sitemap.current node - object reference not set to...

tree view question

findcontrol content/masterpage

getting page titles from sitemap

question on master pages

accessing controls in a wizard header?

skin file

tree view nodes text only

checked custom treenode appearance

sitemapnode "title" getting truncated with "..."

javascript popup calender with masterpage

menuitemclick event does not fire

my treeview webcontrols only works on my localhost and not on the website

menu control does not appear the same in ie and firefox

opening page in iframe along with masterpage

custom content for page derived from master.

frontpage within contentplaceholder ???

disabling treenode in a treeview programmatically

dynamically create wizardsteps

accessing usercontrol's properties that is in a master page from an aspx page

can i change a treeview's text size depending on what my browser's text size is set to?

disabling treenode checkedboxes (javascript) on load if parent is not checked

themes in .net 2.0 apply for html controls

user controls inside master page

master pages

how to change dynamically a sitemapnode of web.sitemap?

multiple instances of a user control on the same page

newbie - unable to apply css to my mywebsite

treeview's treenodecheckchanged problem

body background image (css) and themes

  Privacy | Contact Us
All Times Are GMT