Before I click submit button (Upload file) my url is "/TestDetail.aspx?TestId=1" but when I submit I can't keep stable ( url "/TestDetail.aspx"). Is there any way to prevent lost URL parameter after submit.. So I must Submit method for this Button ( don't use Ajax Submit when Upload file). Please help me. Thank you so much!

Hi,

Why can you not use Ajax submit?

What about changing the end node to a destination of the detail screen?

Regards,

Daniel

Daniël Kuhlmann wrote:

Hi,

Why can you not use Ajax submit?

What about changing the end node to a destination of the detail screen?

Regards,

Daniel

I just update my question, I have a problem when Upload file. I set end node to destination of detail but It still lost the URL parameters. I think when use Submit method always lost URL parameters. I don't know how I fix this problem.


Hi,

On the destination node you can pass desired parameters

Solution

Hello Tran, 

Why are you concerned with the URL? Because the user can refreshe the page? 

Instead of a Destination, you can use an External URL to your page, like this:

"TestDetail.Aspx?TestId=" + TestId

A different approach is to use the Popup_Upload widget and the Popup_Upload_GetFile in the OnNotify handler instead of the Upload widget. I didn't tried, but it should avoid the URL modification, once the upload will not be made in the parent screen. 

Hope thisnhelps. 

Cheers 

Solution

Aliaksandr Kasko wrote:

Hi,

On the destination node you can pass desired parameters

I did it, but It's still not work. 

Hi, A Destination, after a submit executed action, will not change the URL as this is a server redirection and the browser is not aware of the navigation. 

Thank you so much ! Eduardo Jauch. Now I understand what you said.