This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.
Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.
Before posting questions here you might want to review the developer documentation.
I decided to use mp:SiteLabel control in order to localize all the labels within the form. However, it looks like all the final labels, don't have a for="" attribute added to them. As a result, the user can't click on the label associated with a form control (checkbox or radio button for ex.) in order to change their state. I took a look at SiteLabel.cs and it looks like there is a "forString" declared for the very purpose of adding "for=<control_name>" to the final mark-up, but it's not being added.
Here's an example of of a label I have in my ascx:
<mp:SiteLabel ID="lblNeededMost" runat="server" ForControl="rdbNeededMost" ConfigKey="lblNeededMost" ResourceFile="OnlineGivingResources" /> The rendered mark-up just ends up being: <label>where needed most</label>
It means it can't find the control rdbNeededMost
Ah, well that would make sense. Because I was looking at the code and I see that if statement (c != null), but I totally disregarded the fact that I have not converted all of my html into asp controls.
Thanks.