Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
DropDownProvider value change not recognized
posted

I have a 2010.3 webdatagrid with columns that include one with a dropdownprovider. The grid properties are set such that I can batch the updates with a save button to submit the changes which is working. The problem however I've come accross is a unique situation when changing the dropdown value and then clicking the save button the RowUpdating event (args) does not recognize the change value of that last column change. All other value changes preceeding it are recognized, just not the final dropdown change. If I change the dropdown value and then click in another grid cell, then click the save button it works. Is there some edit mode or something of the dropdown that is not getting updated when after making a selection it looses focus to the click of the button submitting? Any thoguhts how can I fix this to allow changing a dropdown column and proceeding to click a button to submit the changes to always work recognizing the new value?

Parents
  • 800
    posted

    Jeff-

    I would be so grateful if you could show me how you have accomplished batch updating the user changes to the database with a save button. I have been working with tech support and they are unable to show me how to do this. I've been pointed to many examples but none have addressed what I am trying to accomplish. I want to update the database with changes to the grid using manual CRUD and a save button. It's a standard user interface pattern but I'm unable to accomplish the task using webdatagrid. AutoCRUD is no good for this project and I don't want to commit to the db as each row is changed by the user. In most cases I don't know why anyone would want to commit each row as it is changed.

    As far as your problem goes.. i did see on another post that someone was having the same problem and captured the last change client side and modified the style of the row which caused the row to be dirty and fire the update event for the row properly.

    Steve

Reply Children