Hello,
I have an UltraWebGrid inside a WARP; when I open a WebDialogWindow and then I close it, the grid is refreshed but sometimes it happens that the grid loses the sorting.
Thank you
Hello Pierluigi,Can you please provide me some basic information like what exactly is your build. Prom where you open the dialog window, is the dialog window inside the WARP or it is outside, does the issue reproduces in all the browsers or just in one specific.
-I open the WebDialogWindow when I press on a button of an UltraWebToolbar
-the UltraWebToolbar is outside the WARP
-the WebDialogWindow is outside the WARP
-I reproduced this issue on Internet Explorer 9 and Firefox 10.0.2 (I haven't tried other browsers), but not every time: this happens only when I previously sort the UltraWebGrid on certains columns, but I can't understand why certains columns give problem and other not...
Let me now if you need more information
Hello Pierluigi,Please take a look at the sample I have created based on your description. I sort one of the columns, click on the button, close the opened WDW and the grid is still sorted. Please take a look at the sample and modify it or create a new one which reproduces the behavior you are facing.
Hellp Pierluigi,Please let me know if you have any further questions? Did you manage to resolve the issue?
Hello Pierluigi,I modified the sample to use your version and tested it again. I set one of the columns to have repeated data and the other to be null. Can you please modify the sample or at least post a code snippet about what is “grid is refreshed when the WebTab is closed”. You are just making a postback or you are clearing the datasource and rebinding again? With the sample I am attaching I am not able to reproduce the misbehavior you are facing.
Hello Nikifor,
I wasn't able to solve the problem.
The library version is 10.3.20103.2217 and the sorting is on the client; I also tried to use the sorting on the server but this didn't change anything.
Hello Pierluigi,Please let me know what is your progress on this issue - did you manage to resolve it?
Hello Pierluigi,You have not commented on the sample I attached. Is your version and build the same as used from me. Is your sorting on client or on the server? The sorting should be persisted no matter if you have null values or 10 rows with exactly the same value in one of the columns.
I didn't resolve the issue; I suspect that the problem arises when I have more than one record in the grid with the same value (or db null) on a certain column and I sort more than once on that column. Perhaps the problem may be due to the fact that the default sorting of the grid is different from that of sql server...
What do you think about?