Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7936533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:14:45+00:00 2026-06-03T22:14:45+00:00

I have created a Silverlight business application, that require the user to login, and

  • 0

I have created a Silverlight business application, that require the user to login, and once they have, their user name is presented in the login status.

Located in the ApplicationStrings.resx is the following-

<data name="WelcomeMessage" xml:space="preserve">
  <value>Welcome {0}</value>
  <comment>{0} = User.DisplayName property</comment>
</data>

I am trying to get the user name of whoever has logged in from this, I have tried-

string userName = System.Convert.ToString(ApplicationStrings.WelcomeMessage);

However this brings the string backs as Welcome {0}.

Whereas what I actually need is the value of User.DisplayName property.

How can I get to that value?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T22:14:46+00:00Added an answer on June 3, 2026 at 10:14 pm

    You need to use string.Format at the place where you retrieve the welcome message.

    string userName = string.Format(ApplicationStrings.WelcomeMessage, WebContext.Current.User.DisplayName);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you have created a silverlight business application you will see that in the
I have created a new silverlight business application in visual studio. It auto generates
I have created a new silverlight business application. I have added mysql.data, mysql.web, mysql.data.entity
I have created a Silverlight Business Application by default. I am wondering where the
I have a silverlight business application created with vs2010 and it is RIA service
I have created a new Silverlight 4 solution using the Business Application template. The
I have created Silverlight Login Page. I use PasswordBox in that page and use
I have created a Silverlight 4 application, that is running out of browser. As
I have created a web application with a Silverlight project embedded in it, using
I have created a Silverlight User Control. The markup is: <StackPanel Grid.Row=4 Grid.Column=0 Orientation=Horizontal

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.