Solved

VB BindingNavigator Greyed out

Posted on 2010-08-14
9
1,383 Views
Last Modified: 2013-11-26
IDE: Visual Studio 2008
Problem: The binding navigation bar is grayed out. I am using a drop down menu also and it is working with the database.

There is a parent and child forms. The parent does not need the navigation but all the child forms do.
I am still new to vb.net and I'm learning.
0
Comment
Question by:usky1
  • 5
  • 4
9 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 33440609
If you are working with an ASP.NET web site, the BindingNavigator is a Windows Form control, and not allowed in a web site.
0
 

Author Comment

by:usky1
ID: 33440655
I made it a windows form and it is still grayed out.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 33442100
If you have a Windows Forms application, and you have a Form open in the designer, then you should be able to drag and drop a BindingNavigator to the form.  
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:usky1
ID: 33442236
I did exactly that but when I run the app the navigator is grayed out.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 33445696
Can you attach a screen shot of what you are working with, and what you are trying (including the tool box)?  The controls are usually disabled when you are trying to access them from a place where it is not appropriate...
0
 

Author Comment

by:usky1
ID: 33446741
I have attached the screen shots and also the code. let me know if you need anything else
NavigationGrayed.zip
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 325 total points
ID: 33447125
I missed the part about a running application, so I keep thinking that you were talking about a grayed out control in the tool box.  The picture definitely helped to show me what you really meant.  I don't see in the code where you are setting up the BindingNavigator to work with your data source.  The easiest way that I know of to use the BindingNavigator is to define a Data Source with the Data | Add New Data Source menu item, and then drag and drop a table on to the form, and the IDE will automatically add the necessary code, and set up the BindingNavigator as needed.
0
 

Author Closing Comment

by:usky1
ID: 33470812
not
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 33471050
Not what?
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question