Search code examples
c#asp.netcrystal-reports

Open Crystal Report In a New Tab


I am new to Crystal reports. This is my code I already use to open crystal report in a new window

string url = " ./Reports/ReportQuotationDetails.aspx?ID=" + IndexID.ToString();
ScriptManager.RegisterClientScriptBlock(Page, Page.GetType(), "NewWindow", "window.open('" + url + "','_blank','height=600,width=900,status=no,toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,titlebar=no' );", true);;

But I want to know how to open Crystal Report in a new tab within the same browser. How can I do that?


Solution

  • Nothing an author can do can choose to open in a new tab instead of a new window.
    It depends on browser's settings