Pass a C#/ ASP variable from to a website RRS feed

  • Question

  • Hello, I'm fairly new to C# and can't seem to find an answer.

    I am trying to pass a variable from a C#/ ASP website to an element of a website on a newly opened tab when a button is pressed.

    The following code opens the page on a new tab successfully:

        protected void SA_Click(object sender, EventArgs e)
            string pageurl = "https://web.nt-ware.net/license/serialinfo.php";
            Response.Write("<script> window.open('" + pageurl + "','_blank'); </script>");

    Every answer I've found seems to be the opposite where the user brings data back from a websit.

    I know the ID of the element is info_on_srn and I can get this to work in PowerShell using:


    • Moved by Sabah ShariqMVP Saturday, July 22, 2017 2:22 PM Moved from Visual C#
    Saturday, July 22, 2017 10:20 AM

All replies

  • You should post to the forum for help. 


    Saturday, July 22, 2017 11:01 AM