TheVampire
Programmer
I'm trying to find out if there is an attribute that I can add to a panel control so that I can run a javascript function when the panel is enabled.
What I have are several text boxes and some buttons inside a panel. I've added attributes to two text boxes so that they have to have text in them before a button is enabled, and wrote a script to do this and that works fine. The problem is that I make the panel disabled while some other information is being entered eslewhere on the page, and when I make the panel enabled again, the button inside that was previously enabled by my script is now disabled. I need to run the script to check the textboxes again so that the button will be enabled, but I can't figure out which attribute I would need to add to the panel do this.
What I have are several text boxes and some buttons inside a panel. I've added attributes to two text boxes so that they have to have text in them before a button is enabled, and wrote a script to do this and that works fine. The problem is that I make the panel disabled while some other information is being entered eslewhere on the page, and when I make the panel enabled again, the button inside that was previously enabled by my script is now disabled. I need to run the script to check the textboxes again so that the button will be enabled, but I can't figure out which attribute I would need to add to the panel do this.