How to open another tab on click without refresh current page in ASP.NET Web Forms?

﹥>﹥吖頭↗ 提交于 2019-12-01 20:40:16

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!