<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script language="javascript" type="text/javascript">
function PassData() {
var Qstr = document.getElementById("<%=txtData.ClientID %>").value;
window.open('Your-Target-Page.aspx?ID=' + Qstr, 'NewWindow', 'width=400,height=300,location=no,menubar=no,resizable=no,scrollbars=no,status=yes,toolbars=no');
return false;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="txtData" runat="server" Text="23"
CssClass="TextBox"></asp:TextBox>
<asp:Button ID="btnRedirect" runat="server" Text="Window Open"
CssClass="Button" OnClientClick="return PassData(); " />
</div>
</form>
</body>
</html>