我在前面提供了一些代码,并创建一个链接,用户可以点击它并将它们发送到指定的页面。标签内的链接 - 包括额外的功能
<asp:Label ID="tbxFindOutMore" runat="server"
text="If you are already a member, please <a href ='Reporting/Login.aspx' target=_blank style=color:black>click here</a> to login to your bespoke reporting"
Font-Names="Trebuchet MS" Font-Size="12px" ForeColor="Black"></asp:Label>
以前我用这个作为链接按钮,并有以下点击后面的代码使窗口最大化为全屏:
Page.ClientScript.RegisterStartupScript
(this.GetType(), "openwindow", "win = window.open('Reporting/Login.aspx');win.moveTo(0,0); win.resizeTo(window.screen.availWidth, window.screen.availHeight)", true);
我怎么会去将这一功能整合到ASP:我现在使用的标签?
我正在编辑我的答案,包括脚本,并得到了一个电话,该死的你第一次到达那里:p 但很好的答案:) – Codesleuth 2010-02-09 13:38:42
正是我想要的布兰登,非常感谢 - 作为一个noob,我没有肯定如何去结合不同的元素。感谢您的帮助。 – 2010-02-09 13:38:52