控制母版页中的呈现 [英] Controls render in master page
本文介绍了控制母版页中的呈现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的主页中有<a id="asignout" name="asignout" runat="server" clientidmode="Static">
并呈现为<a href="java<!-- no -->script:__doPostBack(''ctl00$ctl00$asignout'','''')" name="asignout" id="asignout"></a>
所以我无法获得活动.
任何人都知道如何获取此< a>事件.标签?
请帮忙.
它的紧急.
谢谢adv.
Hi,
I am having <a id="asignout" name="asignout" runat="server" clientidmode="Static">
in master page
and it renders as <a href="java<!-- no -->script:__doPostBack(''ctl00$ctl00$asignout'','''')" name="asignout" id="asignout"></a>
so I am not able to get the event.
any body knows how to get the event of this <a> tag?
please help.
its urgent.
Thank you in adv.
推荐答案
ctl00
asignout'','''')"name =" asignout"id ="asignout"></a>
所以我无法获得活动.
任何人都知道如何获取此< a>事件.标签?
请帮忙.
它的紧急.
谢谢您.
asignout'','''')" name="asignout" id="asignout"></a>
so I am not able to get the event.
any body knows how to get the event of this <a> tag?
please help.
itsurgent.
Thank you in adv.
您想要什么活动.是服务器端单击事件还是客户端事件.如果您想获取服务器端事件,请使用LinkButton控件.如果其客户端未在标记中放置runat ="server"属性.
What event do you want. Is it server side click event or client side event. If you are thinking to get a server side event use a LinkButton control. If its client side do not put runat="server" attribute in tag.
这篇关于控制母版页中的呈现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文