开发者

Enable or Disable a Control without PostBack asp.net

开发者 https://www.devze.com 2023-03-05 04:29 出处:网络
Greetings, I have an ASP.Net form with some standard controls (DropDownLists and TextBoxes开发者_如何学运维) that I need to be disabled or enabled based on the checked state of a checkbox control.

Greetings, I have an ASP.Net form with some standard controls (DropDownLists and TextBoxes开发者_如何学运维) that I need to be disabled or enabled based on the checked state of a checkbox control.

I currently have it working via the CheckChanged event on a postback. Can I use Ajax to accomplish the same thing without Posting Back?


You can use Jquery or Javascript to Hide or disable the controls client side.

0

精彩评论

暂无评论...
验证码 换一张
取 消