This topic is locked

Refresh or reload page using inline edit

9/27/2007 11:26:51 AM
ASPRunnerPro General questions
B
Bryan author

Hi,
I have the following code in my beforeedit event:
dict("Complete")="Yes"

BeforeEdit = True
This script runs when a record is edited using InLine edit on the "List" page
All I need to do after this code is refresh the "List" page immediately after the record is saved.
Is there any easy way to do this in an event? I've tried various javascript methods but none seem to work correctly.
Thanks and apologies if this is very basic.
Bryan

Sergey Kornilov admin 9/27/2007

I think that javascript won't help you here.
Try to redirect user to the list page using Response.Redirect "tablename_list.asp"

R
RASM 9/17/2009

Hi,
I tried put in event after record updated (inline edit ) Response.Redirect "ItensNota_list.asp" but, after i click confirm, shows error and don't redirect for list.asp , well, redirect in ajax and generates error.
I need reload page after confirm edit.
Any solution?
thanks.

J
Jane 9/18/2009

Hi,
unfortunately redirect in the After record updated event doesn't work for inline edit.

You can modify JavaScript code manually in the generated include/inlineedit.js file to refresh page.

Unfortunately we don't have a ready to go solution for this.