Solved

VB BindingNavigator Greyed out

Posted on 2010-08-14
9
1,362 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

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:…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

810 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