darma teja

darma teja

  • NA
  • 496
  • 336.8k

How To Close A Popup Window when user clicks on hyperlink

Jan 15 2020 3:48 PM

the following Hyperlink is in the popup written in C#.

var hypLink = new HyperLink
{
    Text = "Order Nummer",
    NavigateUrl = "~/Order.Page.aspx?OrderID=00001001"
};

The above code is redirecting the Order.Page.aspx inside the popup.

But I am trying, When user clicks on the hyperlink:

  1. the popup should close.
  2. redirect to the NavigateUrl ~/Order.Page.aspx?OrderID=00001001

Answers (2)