?
Solved

vb.net binding navigator do not save changes going to next record

Posted on 2008-02-11
1
Medium Priority
?
1,322 Views
Last Modified: 2013-11-26
I want to use the binding navigator, but I don't want it to make changes when I click on the next and previous buttons.  Thanks
0
Comment
Question by:bergertime
1 Comment
 
LVL 27

Accepted Solution

by:
VBRocks earned 2000 total points
ID: 20871308
Double-Click on the MoveNext button (and MovePrev button) and insert code to Cancel the edit.

Here's an example:

    Private Sub BindingNavigatorMoveNextItem_Click(ByVal sender As System.Object, _
        ByVal e As System.EventArgs) Handles BindingNavigatorMoveNextItem.Click

        Me.BindingNavigator1.BindingSource.CancelEdit()

    End Sub


VBRocks
MS MVP

0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
If you are looking for an automated solution for backup single or multiple Office 365 user mailboxes to Outlook data file, then you can use Kernel Office 365 Backup & Restore tool. Go through the video to check out the steps to backup single or mult…
Suggested Courses

600 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