User Profile & Activity

Handy Surya Support
Page
of 223

You can also hide the option in BatchUpdateSettings property. Simply set AllowReviewChanges property to false.

Regards,
Handy

Posted: September 18, 2012 10:26 PM

Hello,

It hasn't been fixed yet. If you want, I will put this in our highest priority in hotfixes next month release.

Regards,
Handy

Posted: September 12, 2012 10:51 PM

Hello Udayan,

That should be not happened if you use the correct way to implement your structure. I attached my sample. As you can see even though I moved the columns, they would be still persisted after accept changes. If you have a different result, please let us know or send us your simple runable sample that replicates this issue.

Regards,
Handy

Hello Girish,

Perhaps, there are some missunderstanding in here. What we meant about postback, because we refer back to your first post that said "...Grid will refreshs...".
Refresh is one of postback action like others such as filter,sort, insert, update, delete,etc. While seeing in your afterResponse code, there is no code that caused postback.
This is what Bernard point.

However, looking at your current code, there are some logic that make me wonder...

if (this._grid.GetSelectedObject() != null) {
                var RowIndex = this._grid.GetSelectedObject().rowIndex;
                var gSelObj = this._grid.GetSelectedObject().GetRowObject(RowIndex);
                gSelObj.Grid.ClearSelection(RowIndex);
                    
                var rowI = document.getElementById("prevEventKeyValue").value;
                if (rowI != "") {
                    this._grid.RootTable.GetRow(this._grid.RootTable.GetRowByKeyValue(rowI).RowElement.rowIndex).Select();
                    //this._grid.RootTable.SelectRow(this._grid.RootTable.GetRowByKeyValue(rowI).RowElement.rowIndex);
                }
                else
                    this._grid.RootTable.SelectRow(0);

At first, you used gSelObj.Grid.ClearSelection(RowIndex);  , then this._grid.RootTable.GetRow(this._grid.RootTable.GetRowByKeyValue(rowI).RowElement.rowIndex).Select();.

The first code will instanly remove your selection. The second should be reselect again.
However, why it needs this way? I understand that you have set the validation and the code would be called if it is necessary. But I think you better debug your codes. I don't know what is the current value so I don't know how it goes.

Besides, I don't know about rowI that needs "preEventValue".
But I assume this might be your hidden field. Also, it seems you use the code to handle something after delete process or something (by seeing the flag). If that so, why you need to focus the grid again?
As far I know, when deletes a row, it would automatically select another row after that which should make your savedKeyValue obsoleted or changed. So, is that you need to lostfocus and focus again?

Anyway, that's only my thinking. Perhaps, you should let us know what is "Replace Operation does".
Because we might need that detail to investigate what cause this issue.

Regards,
Handy


Posted: September 6, 2012 9:27 PM

Here, I reattached it for you.

Regards,
Handy

Posted: September 6, 2012 3:37 AM

Hello,

Here I attached a sample. When a dialogbox open and user click 'Cancel', the dialogbox would not be closed. But it will open messagebox to notify user. If user choose 'No' in the messagebox, it will leave dialogbox as before. But if user choose 'Yes' in messagebox, it will automatically close all.

I hope this scenario is the one that you were looking for. 

In order to do that, you would need to remove all dialogbox result in all dialogbox button. The dialogbox result should be handled manually in global dialogbox and bind it with your vm. Therefore, you would also need to use "AutoCloseDialog" as true. Please look into my sample.

Regards,
Handy

Posted: August 29, 2012 5:51 AM

Hello,

If you are using our DialogBoxResult, it should automatically close the dialog when ok or cancel. We provide the DialogBoxResult for user to run some command or validation before close the dialog.
Normally, if you use UXDialogBox, it should be something like this:

 DialogBoxServiceProvider.GetInstanceAsync("ClientUIDataApp3.Views.UXDialogBox1",
                (dialog) =>
                {
                    dialog.ShowDialog(null, (dialogResult) =>
                        {
                            if (dialogResult == DialogResult.OK)
                            {
                            }
                            else if (dialogResult == DialogResult.Cancel)
                            {
                            }
                        });
                });

 

Regards,
Handy

Hello,

We will continue this conversation via email.

Regards,
Handy

Hello,

Please let me know your email address. We can proceed in furtherly in there.

Regards,
Handy

Posted: August 26, 2012 11:42 PM

Hello,

If you are using command in standard silverlight button, would it work? Since we are using MVVM pattern, it would be best if you used command instead of the event.

Regards,
Handy

All times are GMT -5. The time now is 6:42 AM.
Previous Next