Question

I've created an application page with a dropdown that's using resources, like this:

<SharePoint:DVDropDownList ID="ContentTypesDropDown" runat="server">
  <asp:ListItem Text="<%$ Resources:Yucatan.Global.UI,Devider; %>" Value="" />
</SharePoint:DVDropDownList>

This resource is an AppGlobalResource. I've double checked that the resource file is in the App_GlobalResources.

Somehow the resource isn't working. It just shows as an empty string. I've also tried with a resource file in the resources directory of sharepoint, but then I get an exception. Does anyone know why the resource text isn't showing?

Was it helpful?

Solution

Perhaps the extra semicolon after resource key name "Devider" is causing the problem. It is not required.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top