Solved

VB BindingNavigator Greyed out

Posted on 2010-08-14
9
1,432 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Stressed Out?

Watch some penguins on the livecam!

 

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

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:…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

691 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