nuritat
asked on
close aspx and return to html that posted to it
Hi
I have an html form that when submitted posts to an apsx.
the aspx contains vb elaboration only and when finished I'd like it to turn back to the html
the user should not notice of this move and it will be realy great if I could return a value of success yes/no
thanks!
I have an html form that when submitted posts to an apsx.
the aspx contains vb elaboration only and when finished I'd like it to turn back to the html
the user should not notice of this move and it will be realy great if I could return a value of success yes/no
thanks!
ASKER
sorry but this doesn't help me
the window.close closes the session at all and I can't use code except javascript in parent page which is a simple HTML.
I resolved the closing issue by doing:
javascript:history.back();
but how do I pass "success/not success" value to it??
thanks again
the window.close closes the session at all and I can't use code except javascript in parent page which is a simple HTML.
I resolved the closing issue by doing:
javascript:history.back();
but how do I pass "success/not success" value to it??
thanks again
That's cool, but there's no way to send back a value with history.back()
If you could pass through your source page url as a querystring to the target page (or hardcode it if it'll always be the same - eeek) you'd be able to do this;
window.location.href="http://www.yourDom.com/yourPage.aspx?success=true";
with the url being extracted in JS from the page querystring...
If you could pass through your source page url as a querystring to the target page (or hardcode it if it'll always be the same - eeek) you'd be able to do this;
window.location.href="http://www.yourDom.com/yourPage.aspx?success=true";
with the url being extracted in JS from the page querystring...
ASKER
thanks, it could do the work nicly
but my html page is a part of an iPad project and has no url...
sorry for comlicating the problem
I assume that in this case there's no solution for me...
but my html page is a part of an iPad project and has no url...
sorry for comlicating the problem
I assume that in this case there's no solution for me...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
sounds interesting..
I'll try that
I'll try that
ASKER
it seems that there's no solution for my question
Well, we tried. Even just documenting what was tried here might help others...
http://www.eggheadcafe.com/tutorials/asp-net/96c46e09-b383-4330-ae8d-99436cb6c330/aspnet-modaldialog-with-postback-and-return-values-to-parent-page.aspx