This is a migrated thread and some comments may be shown as answers.

[Solved] client side event editItem(index) causes full page postback

2 Answers 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Thomas Salt
Top achievements
Rank 1
Thomas Salt asked on 07 Oct 2009, 08:14 PM
Like the title says, when using the client side method MasterTableView.editItems(index) there is a full page postback.  Is this the expected behavior of the method or is there a way to show the edit form without hitting the server so there is not a full page post back?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 08 Oct 2009, 11:31 AM
Hi Thomas,

I tried the scenario and found that postback occurs in my case also. I guess this is the normal behavior, i.e, the editItem method is used to  actually invoke the server side edit command from client side code.
One suggestion to avoid the page refresh, is to ajaxify the grid using AJAX Manager/AJAX Panel

-Shinu.
0
Thomas Salt
Top achievements
Rank 1
answered on 08 Oct 2009, 01:34 PM
Hmmm..I know I could have used the ajax manager/panels.  I guess I was just a bit confused as to why this client side event even exists then.
Tags
Grid
Asked by
Thomas Salt
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Thomas Salt
Top achievements
Rank 1
Share this question
or