.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How to enable and disable menu items in asp.net

Posted By: Santhakumar M     Posted Date: November 29, 2010    Points:2   Category :ASP.Net
I want to sample code enable and disable menu items in asp.net menu control which selected main menu control after that display sub menu item using java script or server code

Responses
Author: SureshM             
Posted Date: December 01, 2010     Points: 5   

Hi,

//mnu is the ID of the Menu Control

mnu.Items[0].Enabled =true ;
mnu.Items[1].Enabled =false;


Author: ChantelGainsford             
Posted Date: December 10, 2010     Points: 5   

Hi,

Just want to know if it is possible to disable and enable the menu items in VB Code?



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend