Not sure if this should be posted in the ASP.net section but we'll see.
A popup is opened from a "main" page. Then a link is clicked from the popup that should be opened in the "main" page and a parameter (sUserID) needs to be sent to the "main" page that was established in the codebehind in the popup window. The link in the popup was created in the code behind. So far, this is what I have:
In the popup:
sLink = "<a href='#' onclick='opener.location.href='forum/searchpro.aspx?author=" & sUserID & "&top=50';window.close();return false;'>Newest 50</a>"
lblPosts.Text = sLink
Thanks in advance.