当选中xyz页面的复选框时,如何禁用abc.aspx页面中的提交按钮。 [英] how to disable the submit button in abc.aspx page when check box of xyz page is checked.

查看:72
本文介绍了当选中xyz页面的复选框时,如何禁用abc.aspx页面中的提交按钮。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果选中xyz页面的复选框,如何禁用abc.aspx页面中的提交按钮。

how to disable the submit button in abc.aspx page when check box of xyz page is checked.

推荐答案

if(checkbox.checked)
       submit.Visible=false;
else
       submit.Visible=true;


您必须从另一个页面访问该控件。请查看此链接以获取帮助。如果您遇到任何问题,请提问。





http://stackoverflow.com/questions/3085316/access-control-on-other-page-in-asp-net [< a href =http://stackoverflow.com/questions/3085316/access-control-on-other-page-in-asp-nettarget =_ blanktitle =New Window> ^ ]



谢谢。
You have to access the control from another page. Please check this link for help. If you face any problem then ask question.


http://stackoverflow.com/questions/3085316/access-control-on-other-page-in-asp-net[^]

Thanks.


这篇关于当选中xyz页面的复选框时,如何禁用abc.aspx页面中的提交按钮。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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