hi friend,
I think you have written garbage code in your form
Just write like this,
1> design your form which you want to open in browser like abc.aspx
2> define the function in your main form or java script file like-
function openWindow(url)
{
var c=window.open(url,'search','menu=no,toolbar=no,resizable=yes,scrollbars=yes,status=yes')
}
3> call this function in the click event of control
in .cs file like -
linkbutton1.Attributes.Add("OnClick","openWindow(url)");
or in .aspx form like -
<asp:Button id="Button1" runat="server" OnClientClick="openWindow(url)"></asp:Button>
Thanks,
Mahesh Patel