Well i tried your way but when i click the button nothing happens .......plz help
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="CLPrTranID.aspx.vb" Inherits="CLprtranID"
MasterPageFile="~/MasterPage.master" Title="PreTrans" Culture="en-GB" %>
<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1" >
<div style="height: 354px; margin-top: 28px;">
<asp:CheckBox ID="ClmStatus" runat="server"
style="position :absolute; top: 81px; left: 650px;" />
<asp:CheckBox ID="Info" runat="server"
style="position :absolute; top: 51px; left: 650px;" AutoPostBack="True" />
<asp:CheckBox ID="MRpt" runat="server"
style="position :absolute; top: 21px; left: 650px;" Checked="True" />
<asp:Button ID="Prt" runat="server" Text="Print Transaction"
style="position : absolute; top: 334px; left: 18px; width: 134px; margin-top: 0px;"
Font-Bold="True" OnClientClick="openForm();"/>
</div>
<script type="text/javascript" language="javascript" >
function openForm()
{
if (document.getElementById("MRpt").checked == 1)
window.open("CLReport.aspx?type=M");
if (document.getElementById("Info").checked == 1)
window.open("CLReport.aspx?type=I&ClmTrs=" & document.getElementById("ClmTrs"));
if (document.getElementById("ClmStatus").checked == 1)
window.open("CLReport.aspx?type=S");
}
</script>
</asp:Content>