Localized error message RRS feed

  • Question

  • User-1246604461 posted
    I have a Literal control (I also tried it with a label control).
    This control should display a message in the appropiate language.

    What have I done now:
    in my resource files I have defined a key named: "ltrlMailError"
    in each resource files I say in the appropiate language that there has been a mail problem.

    Now in my code behind, when I detect that a mail error has occurred, I thought I could just assign a text to this Literal control like so:

    ltrlStatus.Text = """<%$ Resources:lblMailError %>"""

    OR like:

    ltrlStatus.Text = "<%$ Resources:lblMailError %>"

    But that doesnt work....(i've been playing around with the Mode attribute of the Literal control too, but still no luck....
    How can I solve this localized error message problem?


    Saturday, April 8, 2006 9:21 AM

All replies