RSS Forums RSS

Disable toolstripbutton in c# windows application

Reply
Posts: 4
Reputation: rajeshswain is an unknown quantity at this point 
Solved Threads: 0
rajeshswain rajeshswain is offline Offline
Newbie Poster

Disable toolstripbutton in c# windows application

  #1  
Dec 4th, 2008
Hello,

I have a main page to which i have added a toolstrip along with menustrip. While running my application login page appears. I need, these two i.e. menustrip and toolstrip to remain disabled until successful login.

However, i managed to disable the menustrip, but I am unable to disable the toolstrip items. My toolstrip items are toolstripbutton1, toolstripbutton2 and toolstripbutton3.

To disable menustrip I have used.
  1. ((Main)(this.MdiParent)).administrationToolStripMenuItem.Enabled = false;
  2. ((Main)(this.MdiParent)).loginToolStripMenuItem.Enabled = false;

Looking forward for help!
Rajesh
Last edited by peter_budo : Dec 4th, 2008 at 6:17 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Other Threads in the ASP.NET Forum
Views: 579 | Replies: 0 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:04 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC