I want to change page width and height using RegisterStartupScpript method:
I tried
ScriptManager.RegisterStartupScript(this, this.GetType(), "default2", "<script height:350; width:200 type=text/javascript> </script>", true);
but it doesn't work. Can you help me? How can I do?
I find solution thanks for everone
ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "window.open( 'Default2.aspx?adi=" + adi + "&soyadi=" + soyadi + "&ogrenci_no="+ogrenci_no+"&tel_no="+tel_no+"&sinifi="+sinifi+"', 'height=650,width=850,status=no,toolbar=no,menubar=no,location=no, scrollbars=yes' );", true);