Hello everybody!
I have a page with a submit button and a user control.
The user control have multiple DropDownLists.
On the client side (javascript), when the index changes in one of these lists...
I need to check for the selected index and then...
if it is a valid selection, enable the submit button on the parent page.
The problem is that the user control does not have the ClientId of the parent page button that needs to be enabled.
A poor solution?
I believe I could (on the server side) create a property in the user control that gets the save button ClientId, and have the page initialize this property on the Load event handler.
I do not like this idea because this property will only be used by this page and not by the other pages that uses this user control.
Is this really a poor solution?
The best solution?
I would like to find a wa ...
Go to the complete details ...