Ticket T193901
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

ASPxGridListEditor - Simplify the use of ImmediatePostData in editable List Views

XAF.Web: In inline edit immediatePost and Save post data parallel

created 10 years ago

Dear Support,
We have the following problem in an XAF Web Application:there is an inline-editable listview, besides that, there is a persistent classwith cca 20 properties. Some of them has the ImmediatePostData attribute. Ifthe last focused item is ImmediatePostData, and you click the save button, boththe postback and save happens at the same time, causing a double popup of theLoading bar. After that, the row edit finishes, then jumps in edit mode again.This issue seems to be happening when these actions can't be executed within ashort time (e. g. classes with lots of records, lots of properties, etc.). Thesame problem occurs if you click the cancel button instead of save.
I've attached a sample project and a video showing theproblem.
Thanks in advance,
Csaba

Comments (1)
DevExpress Support Team 10 years ago

    Hello Csaba.

    Thank you for your report. We cannot find an immediate solution to this issue. We will research this scenario further and inform you about the result as soon as we can.

    Answers approved by DevExpress Support

    created 10 years ago (modified 10 years ago)

    Hello Csaba.

    The ImmediatePostData option is not supported in list views. To avoid further issues, we decided to suppress callbacks generated in an editable list view when this option is used on a business object (T195583). The behavior will be changed with the next maintenance update.

      Comments (2)

        ugh… did not see this in Known Issues or Breaking Changes;  we had a simple boolean with immediatepostdata working to toggle to text fields enabled/disabled - It worked before in our inline edit without problems.  Today user reported its not working anymore (unbeknownst to us) and sure enough, not seeing the callback.  :(  I guess I missed the note that said ImmediatePostData only supported for DetailViews

        DevExpress Support Team 10 years ago

          @Randy: A note about ImmediatePostData supported in Detail Views only was there for years. The T195583 ticket was included in the list of v14.2.4 Closed Issues & Suggestions. If you consider issues related to the ImmediatePostData option in list views unsignificant for your application, you can get this partially-working functionality back using a controller described in the T195583 ticket.

          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.