Current filter:
                                You should refresh the page.
                                  • Hello,
                                    I have recently started using your product and work with distributed data stores which pass datasets and datables. I need to use your controls with in memory datasets. I am also using the MS UpdataPanel for ajax support.
                                    I am trying to use the grid control with a datatable as the datasource. I also need to use the MS updatePanel instead of grid callbacks. I have successfully wired up the edit events with the EnableCalls = true. In this case the newvalues collection has values when the update button is pressed and the callback hits the server. All is well.
                                    When I change the EnableCallback = false and put the grid into a UpdatePanel, the editing events are still called, but the newvalues collection is empty.
                                    My question is: Can the grid be used like this? With a DataTable as the datasource and wiring up the editing events with EnableCallbacks = false. If so, why is the newvalues collection empty.
                                    Thanks in advance

                                Show all comments
                                • Plato (DevExpress Support) 12.12.2007

                                  Hi,
                                  Please try to bind the ASPxGridView to data within the Page_LoadComplete method (not within the Page_Load). After this, the ASPxGridView works properly in our tests.
                                  Thanks,
                                  Plato

                                • Bruce Parrott 12.12.2007

                                  Thank you for your quick response.
                                  Your solution works on a simple grid with the default settings, but when the popup edit form is selected the problem persists. Various other settings related to detail rows and detail grids also cause the grid to stop sending newvalue data.
                                  I am still in the 60 day money back window and I need to know if this control is going to work for us. Is there a comprehensive example using datatables where the enablecallbacks = false? The examples referenced in the Knowledgbase are simplistic and do not uncover these problems.
                                  Am I incorrect in assuming the grid should work the same with enablecallbacks = false just in a postback mode? If not, how do I know which features will work when callbacks are turned off?
                                  Thanks for your help

                                • Plato (DevExpress Support) 12.12.2007

                                  Hi Bruce,
                                  You are absolutely correct in your assumption that the grid should work properly regardless of the EnableCallbacks property value. I have created a sample project which seems to work as expected here. I moved the databinding code to the Page_Init method. Row inserting, deleting, inserting works fine in my project. I am afraid we will not be able to help you resolve the problem if you do not explain to us how to reproduce it. Please modify the project I provided so that it starts showing the problem and send it to us. We will do our best to help you. BTW, you may use the approach shown in the project as it works fine here.
                                  Thanks,
                                  Plato

                                • Bruce Parrott 12.12.2007

                                  Hello,
                                  I did explain how to reproduce the problem. Simply set the edit form mode to PopupEditForm. Once this is done you will no longer get newvalues.
                                  I have attached the updated project. Please note I had to create a project and placed your code in it. The only other setting I change was the mode = PopupEditForm.
                                  Edit any row in the main grid. Change a value. Update the edit form. Note the changes are not reflected in the main grid.
                                  Thank you.

                                • Plato (DevExpress Support) 12.12.2007

                                  Hi Bruce,
                                  We are planning to release a new update tomorrow. It will contain this issue fix.
                                  Thanks,
                                  Plato

                                • Bruce Parrott 12.14.2007

                                  Hello,
                                  The new release fixed some of the issue and broke others. The following issues happend when enablecallbacks is set to false:

                                  1. The loading panel stops displaying.
                                  2. Input errors on the edit forms no longer show up as a nice red band under the row. They just thro a script error on the page.
                                  Thanks
                                • Plato (DevExpress Support) 12.16.2007

                                  Hi,

                                  1. The LoadingPanel is only shown when the ASPxGridView's callbacks are used. This is the designed behavior of the ASPxGridView and its previous version worked in the same fashion.
                                  2. If you try this functionality in 7.2, you will notice that the ASPxGridView did not change its behavior. Indeed, the java script error is shown when an error occurs in the server code and this error is caught by the ASPxGridView.
                                  Thanks,
                                  Plato

                                0 Solutions

                                Creation Date Importance Sort by