Can't get strings from App_LocalResources

You are not authorized to post a reply.
Sort:
Vladimir
New Member
New Member
Posts:
    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