I am stummped on how DNN Is handling the ResourceKey.
I have already implement the resource files throughout a DNN site.
But I cannot get the resourcekey to work with a checkbox list within a custom module.
example code:
<asp:CheckBoxList ID="chklApplicationCat" runat="server" CssClass="sfEntry_CheckBoxList" meta:resourcekey="chklApplicationCatResource1">
<asp:ListItem meta:resourcekey="ListItemResource1.Value" ></asp:ListItem>
<asp:ListItem meta:resourcekey="ListItemResource2"></asp:ListItem>
<asp:ListItem meta:resourcekey="ListItemResource3"></asp:ListItem>
<asp:ListItem meta:resourcekey="ListItemResource4"></asp:ListItem>
<asp:ListItem meta:resourcekey="ListItemResource5"></asp:ListItem>
</asp:CheckBoxList>
Note: I attempted with resourceky="" instead of meta:resourcekey="" still with no luck.
the resx file is named the same way as the control.
My resx file looks like this
......
<data name="ListItemResource1.Text" xml:space="preserve">
<value>test</value>
</data>
<data name="ListItemResource1.Value" xml:space="preserve">
<value>test</value>
</data>
......
I can find the resource file through Host -> Languages -> Language editor and edit it. But it seems the control is not loading the resx file or its values are being ignored..
I've read all the PDF docs as I stated I used resx files in DNN for simple label text and valdation error message replacement. Wondering why I cannot do this in DNN on checkboxes?
Thanks in advance!