SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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="" />

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?

share|improve this question
Hi, Marlou! Are you sure about Class and ResourceID? Also, where are some resource bug with powershell deployment, but if you don't using powershell to deploy, you won't be take it. Did you miss runat attribute of asp:ListItem? – IAfanasov Jan 13 '12 at 16:02
Hi IAfanasov! I'm sure about class and resourceid, double checked that :) I've deployed directly from vs2010. I don't think the asp:ListItem needs a runat attribute, but i'm going to try it. – Marlou Jan 23 '12 at 9:57
up vote 2 down vote accepted

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

share|improve this answer
Thanks, I'm going to check this. – Marlou Jan 23 '12 at 9:57
thanks, the semicolon was causing the problem – Marlou Jan 23 '12 at 10:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.