I have a visual web part with custom properties. I have added 2 fields in the custom properties. One is a check-box and other is a text-box. I have a requirement if check-box is checked then the text-box should be disabled and if the check-box is unchecked then the text-box should be enabled. How can I achieve this? Anyone have any idea please share.