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 7897161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:05:29+00:00 2026-06-03T08:05:29+00:00

I am making an application in visual studio for windows phone C# I have

  • 0

I am making an application in visual studio for windows phone C#
I have two text boxes on main page.
I want to send their content to second page.
but i am not able to do it

I am able to send only one text box (name1) but not other (name2)using

 NavigationService.Navigate(new Uri("/Page1.xaml?msg=" + name1.Text, UriKind.Relative));

please help

  • 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-03T08:05:30+00:00Added an answer on June 3, 2026 at 8:05 am

    Depending on if the values in your textboxes are to create some form of internal state or not, I would create a static class that holds the current state.

    When text is entered into the box, update 2 strings on this static class. The class will obviously still be available to pull data from in your future pages, and also if the user happens to hit ‘Back’ in the application. It will probably help you when you extend it in the future to hold more data also.

    However, there should be no issue in passing across multiple values using the Uri method that you’re using at the moment, you could simply do this:

    NavigationService.Navigate(new Uri("/Page1.xaml?msg=" + name1.Text + "&name2=" + name2.Text, UriKind.Relative));
    

    Note that Uri navigation isn’t the best way to pass your parameters, though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making a small Windows Phone 7 application and have lots of text
I'm making a Windows Forms application in Visual Studio 2010 Ultimate, but can't get
I am making a desktop application in C#, Visual Studio 2010 on Windows XP
I'm in Visual Studio, making a Windows Forms application. I'm having some difficulties with
I have a simple Windows App written in Visual Studio 2008 (.NET 3.0, C#).
I am programming with Visual Studio 2008 and making a web application using .NET
I developing ASP.NET application using a Swedish version of Windows XP and Visual studio
I am making a forms application is Visual C#. I have a textbox where
I am making a win32 application using visual studio 2008. When ever i compile
I am currently making an application in which I have two threads running, and

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.