J
Julien C.
Hi all,
I have an "EditeItem.aspx" page which lets me edit properties of an "Item".
In the OnClick() event of my Save button, I do save Item changes to the
database and then I redirect the user to the Item page "ViewItem.aspx" with
a simple :
Server.Transfer("ViewItem.aspx");
I'd like to pass another HTTP parameter so that in the "ViewItem.aspx" page,
I am able to know that the user comes from the "EditItem.aspx". Here's what
I'd like to do :
Request.QueryString.Add("RefreshMenu", "1"); // <-- Raises an
exception
Server.Transfer("ViewItem.aspx");
Indeed, QueryString (or Form, or Params) are read-only collection and
therefore, it raises an exception. How can I pass an addtionnal HTTP
parameter ?
Thanks in advance !
Julien C.
I have an "EditeItem.aspx" page which lets me edit properties of an "Item".
In the OnClick() event of my Save button, I do save Item changes to the
database and then I redirect the user to the Item page "ViewItem.aspx" with
a simple :
Server.Transfer("ViewItem.aspx");
I'd like to pass another HTTP parameter so that in the "ViewItem.aspx" page,
I am able to know that the user comes from the "EditItem.aspx". Here's what
I'd like to do :
Request.QueryString.Add("RefreshMenu", "1"); // <-- Raises an
exception
Server.Transfer("ViewItem.aspx");
Indeed, QueryString (or Form, or Params) are read-only collection and
therefore, it raises an exception. How can I pass an addtionnal HTTP
parameter ?
Thanks in advance !
Julien C.