Ticket Q218509
Visible to All Users

AutoCommitListView - disable save dialog on list view

created 16 years ago

How can I auto commit editing of item in a list that is the view of a naviagation item?

Show previous comments (1)

    I am confused. This a the list view of a navigational item not a nested listview of a detail view.

    Dennis Garavsky (DevExpress) 16 years ago

      Hello Howard,
      Thanks for the update and sorry for the possible confusion. I understand your task, and suggested the best solution to accomplish this in XAF. Have you already tried this solution? Did it work for you?
      Below is some example code that functions correctly for me:

      Visual Basic
      Imports System Imports DevExpress.ExpressApp Imports DevExpress.ExpressApp.Win.SystemModule Namespace MainDemo.Module.Win Public Class ViewController1 Inherits ViewController Protected Overrides Sub OnActivated() MyBase.OnActivated() Dim controller As WinDetailViewController = Frame.GetController(Of WinDetailViewController)() If controller IsNot Nothing Then controller.AutoCommitListView = True End If End Sub End Class End Namespace

      Let me know in case of any further difficulty.
      Thanks,
      Dennis

        This works great, thanks.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.