Click here to Skip to main content
15,902,635 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi All,

Could you please help me out here.

I have one application in the java page html and anther one is the asp.net application html page

I want pass the java html page values to asp.net application while clicks on the link with new window open other application url without query string pass value

Regards,
Narasimha

What I have tried:

Hi All,

Could you please help me out here.

I have one application in the java page html and anther one is the asp.net application html page

I want pass the java html page values to asp.net application while clicks on the link with new window open other application url without query string pass value

Regards,
Narasimha
Posted
Updated 5-Dec-17 3:53am

1 solution

Source page:
HTML
<form method="POST" action="path/to/other/page.aspx" target="_blank">
    <p>
        <label for="Name">Name:</label>
        <input type="text" id="Name" name="Name" placeholder="Your name" />
    </p>
    <p>
        <input type="submit" />
    </p>
</form>

Target page:
C#
protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        string name = Request.Form["Name"];
        ...
    }
}
 
Share this answer
 

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