In an ASP.Net / VB.Net web page I would like to allow the user to Call another web page within my application passing some parameters to another page that uses these parameters as part of the DataSource “Select” statement from the “Select Button” of a GridView.
If this can be done, can you show the needed coding?
why do you need to call the web page do you want it as pop up? or you want to load the page?
ok here is it, the code tell me if it is working or not:
<script type="text/javascript">function basicPopup()
{
popupWindow = window.open("yourpage.aspx", 'popUpWindow', 'height=300,width=600,left=100,top=30,resizable=No,scrollbars=No,toolbar=no,menubar=no,location=no,directories=no, status=No');
}
</script>
on client click of button call this function
OnClientClick="basicPopup();return false;"here is an answer i found in stackoverflow if you wish to open it as a page:
gridview select button to be a link to a page