Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i did it
<asp:MenuItem NavigateUrl="~/cancellation.aspx?Registration=Confirm" Text="Cancellation" />
but

i want this link pass parameters to another page with 2 values
to be as this :

<asp:MenuItem NavigateUrl="~/cancellation.aspx?Registration=Wating|| Registration=Confirm" Text="Cancellation" />

ca anyone help me
thanks for advice
Posted

"~/cancellation.aspx?Registration=Confirm&Text=Cancellation"


now in
cancellation.aspx

do like below on page load


C#
string registartion=Request.QuersyString["Registration"].Tostring();
 string text=Request.QuersyString["Text"].Tostring();
 
Share this answer
 
Comments
radals 28-Nov-13 9:55am    
i want or operator

waiting operator
or
cancel operator
no &
C For Code!!! 28-Nov-13 12:41pm    
Sorry, I am not getting what exactly you want. one thing i can suggest you, use some special characters like % like registration=cancel%waiting
then after getting value back from query string, you can split string By using this special character...
Hope this helps!!!
Make your question more specific.
 
Share this answer
 
Comments
Maciej Los 29-Nov-13 6:51am    
Not an answer!
To post message, please use "Have a Question or Comment" widget.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900