链接按钮没有采摘功能后面的尖锐代码 [英] link button not picking c sharp code behind function
本文介绍了链接按钮没有采摘功能后面的尖锐代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
链接按钮没有在事件背后的点击功能代码上获取c#,但点击工作正常javascript。
我想同时运行点击功能。
Link Button not picking up c# on click function code behind event but javascript on click working properly.
I want to run both the click function.
推荐答案
您好,
这很简单。请查看LinkButton文档[ ^ ]& ;这[ ^ ]。链接按钮支持onClick
和onClientClick
处理程序。因此,当单击一个按钮时,客户端处理程序将首先执行,然后执行将运行服务器端处理程序的回发。
问候,
Hello,
Well this is really simple. Please have a look at the LinkButton documentation[^] & this[^]. The Link button supports both theonClick
andonClientClick
handlers. So when a button is clicked the client side handler will execute first followed by the postback which would run the server side handler.
Regards,
这篇关于链接按钮没有采摘功能后面的尖锐代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文