LinkBut​​ton的开新窗口选项卡 [英] LinkButton open new window tab

查看:122
本文介绍了LinkBut​​ton的开新窗口选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<asp:LinkButton ID="lnkbtnMoreTagRules" runat="server" 
   CommandName='<%#Eval("Value")%>'
   CommandArgument='<%# string.Format("{0}||||{1}", Eval("Tag"), 
       Eval("TagAppearance"))%>' 
   OnCommand="lnkbtnMoreTagRules_Command">Več pravil</asp:LinkButton>



我要关闭当前窗口选项卡,并打开新的。

I want to close current window tab and open new one.

我怎样可以打开LinkBut​​ton的一个新的窗口选项卡。 目标=_空白没有帮助。

How can i open a new window tab with linkbutton. target="_blank" not helping.

推荐答案

由于链接按钮贴后背,所以它不能被用于的 GET 的请求。改用的HyperLink类

As link button is posted back, so it cannot be used for a GET request. instead use HyperLink Class

这篇关于LinkBut​​ton的开新窗口选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆