在超链接上点击我想在asp.net中调用c#方法就像linkbutton一样 [英] on hyperlink click i want to call c# method in asp.net just like linkbutton
本文介绍了在超链接上点击我想在asp.net中调用c#方法就像linkbutton一样的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好。
在我的代码中,我想在超链接中点击点击计数器的c#方法点击
就像asp中的linkbutton一样。 net但我不想在超链接上从javascript调用c#方法
。可以吗?
有人帮我。
谢谢。
解决方案
我不清楚你究竟在问什么,但我的想法是,你想在Linkbutton Click上调用一些方法。那你为什么不使用LinkButton.Onclick 点击这里 [ ^ ]
Hello.
In my code i want to call c# method for hit counter in hyperlink click
just like linkbutton in asp.net but i don't want to call c# method
from javascript on hyperlink. can it possible?
some one help me.
thank you.
解决方案
I am not clear what are you exactly asking about, but what my thinking is, you want to call some method on Linkbutton Click. Then why aren't you using LinkButton.Onclick Check here[^]
这篇关于在超链接上点击我想在asp.net中调用c#方法就像linkbutton一样的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文