Hi,
you can make a POST.
ASP.NET 2.0 will fill this needs out-of-the-box.
In ASP.net 1.x this is not very simple. You need a workaround to do that.
You can play with JavaScript (that could be rendered from the server as
RegisterStartupScript), changing the "action" property of the <form>
rendered with the webform, to point it to your second aspx file, and then
call submit method.
<input type="hidden" id="yourhiddenfield" name="yourhiddenfield" />
<script language="javascript">
document.forms[0].action = "yourotherpage.aspx";
document.all["yourhiddenfield"].value = "foo";
document.forms[0].submit();
</script>
In yourotherpage.aspx:
....
string myvalue = Request["yourhiddenfield"];
HTH
Bye
Stefano
"Coneection OLAP" <Co************@discussions.microsoft.com> ha scritto nel
messaggio news:C7**********************************@microsof t.com...
Hi:
Me question is the next:
I would like know how, I can do it to pass params, from a control of a
page ASPX to other page ASPX, but I don't want that this params can see in the
URL, besides I want use this params in the page, how I can do it to
request this params...??
I am using C# like languaje...
Thanks....!!!