resources

Discussion in 'ASP .Net' started by Willem, Jun 8, 2006.

  1. Willem

    Willem Guest

    I got a simple problem, but somehow I can't figure out the solution. I
    want to add to resources into a single string, like this:
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
    ErrorMessage="<%$resources: sttpsite, FirstName%> <%$resources:
    sttpsite, IsRequired %>"
    ControlToValidate="txt_firstname">*</asp:RequiredFieldValidator>

    so the result will be [fieldname] & [isrequired]. In this case "First
    name is required"

    "<%$resources: sttpsite, FirstName%> <%$resources: sttpsite, IsRequired
    %>" doesn't work. Does anyone know what will work?
     
    Willem, Jun 8, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Kamoski
    Replies:
    1
    Views:
    2,453
  2. Larry Smith

    Trivial resources problem (beginner)

    Larry Smith, Oct 2, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    517
    Scott Manson
    Oct 2, 2003
  3. Alec Solter
    Replies:
    1
    Views:
    507
    Jay B. Harlow [MVP - Outlook]
    Nov 27, 2003
  4. Mikhail Shilkin

    Resources updating

    Mikhail Shilkin, Oct 25, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    485
    Richard Grimes [MVP]
    Nov 1, 2004
  5. Russell E. Owen
    Replies:
    0
    Views:
    712
    Russell E. Owen
    Sep 8, 2006
Loading...

Share This Page