单选按钮的自动回发不起作用 [英] Autopostback for radiobutton not working
本文介绍了单选按钮的自动回发不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在VS-2010上使用非常简单的代码遇到了严重问题.它在Windows 7上运行.
Hi,
I have a serious problem with a very simple code on my VS-2010. Its running on windows 7.
protected void RadioButton1_CheckedChanged(object sender, EventArgs e)
{
Response.Write("hello");
}
注意:autopostback对于radiobutton1是正确的.
我所做的事情:
1)重新启动笔记本电脑...不高兴
2)在网络和网站项目上试用过...没什么高兴的
3)其他服务器控件的autopostback属性运行正常.
问题:自动回传不起作用!! @!
我不是初学者,但我需要帮助...请帮助..
Note : autopostback is true for radiobutton1.
Thing I have done:
1) Restarted the laptop...no joy
2) Tried it on web and website project...no joy
3) Other server control''s autopostback property is working all fine.
problem: Autopostback is not working !!@!
I am a NOT a beginner but I need help ...please help..
推荐答案
您可能会错过将AutoPostBack属性放在html标记上的想法.
AutoPostBack ="True"
只是一个想法
you might have missed putting AutoPostBack property on the html tag.
AutoPostBack="True"
Just a thought
这篇关于单选按钮的自动回发不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文