New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

The forum below will remain in read only mode.

Yay... Take Me to the Community!

Can't get strings from App_LocalResources

You are not authorized to post a reply.
New Member
New Member
    Hi Everybody.

    I have a little problem. I'm trying to get strings from resource files, but it only works with ResourceKey="". If I put ToolTip='<%$Resources:btnDelete %>' I get error "The resource object with key 'btnDelete' was not found"

    Or ErrorMessage for RequiredFieldValidator - does not return anything.

    If I try from code behind

    protected void Page_Load(object sender, EventArgs e) {

    rqValName.ErrorMessage = Localization.GetString("rqValNameResource1.ErrorMessage", LocalResourceFile);


    I see the string from the debugger but does not show them on the site.

    Thank you.
    You are not authorized to post a reply.

    Hosting liberally provided by