Home » FAQ » ASP.NET » Client Side Scripting » How to open a new window without IE menus and toolbars on click of a button
VB.NET
Button2 .Attributes.Add ('onclick', 'window.open(’webform1.aspx’,’_blank’,’toolbar=no’)')
C#
Button2 .Attributes.Add ('onclick', 'window.open(’webform1.aspx’,’_blank’,’toolbar=no’)');
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with