I want to be able to click on a button which opens another tab on click. In my case this is done using two ASP.Net
controls, one asp literal
with <
This problem was fixed after I realized that I am using the wrong overload of the ScriptManager.RegisterStartupScript
. I was using the method which takes the Page as first parameter (it can be found here), and after I tried to use the method which takes as parameter
The control that is registering the client script block
as in msdn documentation, and sent as control the LinkButton, it actually worked. The page was not reloading anymore. I hope this can help somebody with the same problem.