为什么Linkbutton不触发服务器端事件? [英] why does Linkbutton not fire server side event?

查看:70
本文介绍了为什么Linkbutton不触发服务器端事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个linkbutton,我在服务器端禁用了linkbutton,
但是当用户在文本框中输入文本并离开控件时,
然后我在客户端启用了linkbutton,但是当我单击
时 linkbutton,它不会触发服务器端事件.
谁能告诉我,

Hi,
i have a linkbutton, i am disabling the linkbutton at server side,
but when user type a text in a textbox and leave the control,
then i am enabling the the linkbutton at client side, but when i clicked the
linkbutton, it does not fire server side event.
can any one tell me,
how to enable the linkbutton to fire the server event when clicked?

推荐答案

没有看到linkbutton代码,我什至无法开始猜测,只是建议您还没有将click事件与服务器端代码挂钩.
Without seeing the linkbutton code, I couldn''t even begin to guess other than to suggest that you haven''t hooked the click event up to the server side code.


这篇关于为什么Linkbutton不触发服务器端事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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