Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Experts,

I have a quick question .

In page1.aspx I have 2 links 1. newrecord ,2.Existingrecord.

<a href="Page2.aspx">NewRecord</a>
<a href="Page2.aspx">Existingrecord</a>

when I click on 2 links need to redirect to page2.aspx but need to call different methods based on user selection.

How to do this requirement.

Please guide me .

Thanks in Advance
Sai

What I have tried:

I am thinking about hidden value and session , but didn't implemented anything.
Posted
Updated 2-May-18 10:53am
v2
Comments
j snooze 2-May-18 17:18pm    
Is this sensitive data information? You could just do a query string value
Page2.aspx?method=New or Page2.aspx?method=Exist and just read the querystring value in the page load of page2.

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