Current filter:
                                You should refresh the page.
                                  • [DevExpress Support Team: CLONED FROM T830853: Is there any devexpress control or event that fires after page_load event]

                                    Hi Oleg,
                                    Sorry for the late replay. It works properly for me. Thank you so much Oleg.

                                    But having one issue that if I want to redirect to some other page while dashboard graphs are loading in callback then it does not redirect us to the next page till all graphs are load .
                                     And if on dropdown selected index changed event it not properly if I have set auto postback property of dropdown to true to load different number of count of graphs on same sample project.

                                1 Solution

                                Creation Date Importance Sort by

                                Hello Rupesh,
                                In the sample project I posted in your previous ticket, I demonstrated how to perform several callbacks to several controls one by one.
                                You can break this callbacks chain at any moment (before executing the next callback) by clearing the chartPanels array.
                                I.e., if you need to redirect to another page by clicking some UI element (button, hyperlink), you need to clear the mentioned array and change the window.location attribute.

                                Regarding a postback mode for your combobox editor. It is incorrect to mix "callback" and "postback" approaches to load controls.
                                If I correctly understand, you just need to save a value selected in your combobox on the server.
                                If so, then you can pass the combobox value as a callback parameter to your callback panel:


                                After that, you can get this value in the server-side Callback event handler (pnlCallBack_Callback) using the e.Parameter attribute.

                                I hope you will find this information helpful.

                                Show all comments
                                • Rupesh Dakhale 2 11.29.2019

                                  Thanks Oleg.

                                  I have changed the sample code as per above. It works but having the issue that when we change dropdown selected values before loading all graphs of the first type on a page then other graphs are loading. But again if we switch to the first item in a dropdown then that graphs are not getting a refresh.
                                  Below is the video link of my sample application.

                                  In my main application other than sample code having an issue on all pages when I change

                                  Below is the video link of my main application where graphs are not getting refreshed on dropdown clicked events. It only reloaded/refreshed on page load.

                                • Rupesh Dakhale 2 11.30.2019

                                  below is the javascript error comes in both sample application and in my main project

                                  Here is the sample code with new menu for page redirect and dropdown event issue.
                                  When click on redirect menu it doesn't redirect till all graphs loads and dropdown not load graphs when changing a dropdown value and then again change it to the first value.

                                • Oleg (DevExpress Support) 12.02.2019

                                  Hello Rupesh,
                                  I need additional time to investigate your new sample project and your current scenario in order to check for the most suitable solution for your task.
                                  I will get back to you once I have any results.

                                • Rupesh Dakhale 2 12.02.2019

                                  ok Oleg

                                • Oleg (DevExpress Support) 12.03.2019

                                  Hello Rupesh,
                                  I tested different approaches and found suitable solutions.
                                  To resolve the issues with updating/reloading CallbackPanel instances it is necessary to check that these instances really persist on the page.
                                  The matter is that ASPxClientControl.GetControlCollection().GetControlsByPredicate method invoked in the EndCallback event handler can return disposed instances.

                                  Thus, I used the Panel.GetMainElement method to check whether or not a panel was disposed of.
                                  Also, as I previously mentioned, it is necessary to perform navigation on the client, since you need to stop loading Callback panels when an end-user clicks the "Redirect" menu.
                                  Please check the onMenutItemClick method implementation in the sample attached.

                                  I hope you will find this sample helpful.

                                • Rupesh Dakhale 2 12.03.2019

                                  Is it possible to set width of loading panel of aspxcallpanel panel while user control is loading data on each graph which having 100% width of loading panel.

                                • Rupesh Dakhale 2 12.03.2019

                                  below is the image which clears you what I am trying to say.

                                • Oleg (DevExpress Support) 12.04.2019

                                  Hello Rupesh,
                                  Not to mix several issues in a single thread, I created a separate ticket to discuss the ability to customize a loading panel's settings:
                                  T838186: Callback Panel - How to change settings of a loading panel that is shown while loading the panel's content

                                  I will answer you in that ticket as soon as I can.