accessing public properties of a custom control
Hey I have a custom control with a property set up in the code behind called EnableVControl. i can access it fine in the basic html like this when i set up the control
- <uc5:AEPDropDownListCTL ID="ddlFrequencyMonth" runat="server"
EnableControl="true" EnableValidator="true" IsRequired="true"
Label="<%$ Resources:LocalizedText, FrequencyMonth %>" />
but I can't figure out how to access this through JQuery. I've been trying to set it using .attr() but to no avail
I've tried many things similar to this:
- $('#<%= ddlFrequencyMonth.ClientID %>').attr('EnableControl', 'true');