?
Solved

VB BindingNavigator Greyed out

Posted on 2010-08-14
9
Medium Priority
?
1,507 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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

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 975 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

839 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