This topic is locked

Can't use Redirect to another page

1/19/2010 12:06:06 PM
ASPRunnerPro General questions
D
danivale author

Hi,

I can't use Redirect to another page after inline edit. It generates an error.

In particular the page mypage_edit.asp tries to redirect and not mypage_list.asp!!
How can I do?

thanks

Sergey Kornilov admin 1/20/2010

This behavior is by design - you cannot use redirect after inline edit. For example, if you edit several records at once, you will lose all unsaved changes after redirect.

D
danivale author 1/20/2010

But I have two necessity:

  1. After an inline edit the totals are not correct, so I want to redirect the list page to itself to see the correct values
  2. After an inline edit, if the total of the values in a column is greater than a fixed value, the list page must show a message.
    In the both cases I need to refresh the list page, how can I solve this problem?

    Thanks


    This behavior is by design - you cannot use redirect after inline edit. For example, if you edit several records at once, you will lose all unsaved changes after redirect.

J
Jane 1/21/2010

It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.