Redirect to After Add (with + this.id) does not work September 18, 2018, 01:47:54 PM I am badly needing a fix or a work around for this errorAs you can see in the pics below, i am trying to redirect to view the auto generated ID that has been created upon adding my new record, however it prompts out that i don't have that record but i have it. Please help us to make a work around regarding this issue. I am making a transactions table and i need to view the generated ID because i will be using it as value into other table. Thanks in advance. Quote Selected
Re: Redirect to After Add (with + this.id) does not work Reply #1 – September 18, 2018, 04:03:09 PM Please use this to redirect to another view page with ID. RedirectToAfterAdd does not support. this.id.Use'/user/view/' + response.bodyresponse.body return the newly added ID. Quote Selected 1 Likes
Re: Redirect to After Add (with + this.id) does not work Reply #2 – September 19, 2018, 01:37:41 PM Quote from: Emman – September 18, 2018, 04:03:09 PMPlease use this to redirect to another view page with ID. RedirectToAfterAdd does not support. this.id.Use'/user/view/' + response.bodyresponse.body return the newly added ID.This works. Thanks Quote Selected