How to navigate data from page to page?

faroke moahmed

I need to display the longlistselector data in a new page when an item was selected.. im getting an error message System.Argument.Exception so plz help me to solve this issue..

my selectedindex change code..

private void OrganizationList_SelectionChanged(object sender, SelectionChangedEventArgs e)
{                
   NavigationService.Navigate(new Uri("Organization_Details.xaml?selectedItem" +Organization.Name , UriKind.Relative));
}

Error:

enter image description here In the navigated page, i'm jus using a text block to display my data..and the code is..

Organization org;//Class name with obj

public Organization_Details()
{
    InitializeComponent();

    org_name.Text = org.name;//textblock(org_name)-->needs to set the data from the b4 page..
}

enter image description here

Error in navigated page...

Microsoft DN

try this

 NavigationService.Navigate(new Uri("/Organization_Details.xaml?selectedItem=" +Organization.Name , UriKind.Relative));

You have missed "/" at the begining of your url and "=" after selectedItem

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to Navigate from a ListItem to its corresponding page?

From Dev

navigate to a Page from the ContentDialog

From Dev

Flutter How to navigate from page to page without any users Interaction

From Dev

How to navigate from detail Page to Master Detail Page?

From Dev

Navigate to default page from OnResume()

From Dev

How to navigate to another wpf page

From Dev

How navigate back to search page?

From Dev

How to navigate to another wpf page

From Dev

How to cancel angularjs $timeout when user navigate away from the page

From Dev

How to navigate to another Page from a User Control in Windows Phone 8.1

From Dev

How to navigate to a web page from within a flutter app? (OAuth)

From Dev

How to navigate one Content page to another Content page from client project (IOS/Android) in xamarin forms?

From Dev

How do I navigate back to list page after delete from detail page?

From Dev

Ionic: How do I include header from one page when I navigate to another page?

From Dev

Navigate to a different page from ContinueFileOpenPicker method

From Dev

Couldn't navigate from one page to another

From Dev

navigate to a new page or window from a page in a desktop WPF application

From Dev

navigate to a new page or window from a page in a desktop WPF application

From Dev

Navigate from Struts1 page to a Struts 2 page

From Dev

Navigate to a certain page of a GridView from an other aspx page

From Dev

QStackWidget navigate from page1 to page 2

From Dev

page not load from top when navigate to new page in angular

From Dev

Beginner: Want to navigate from one page to another page in Angularjs 4

From Dev

How to navigate to other page with button in WPF

From Dev

How can I navigate to another page in JSF?

From Dev

How to navigate to the next page after completing the animation?

From Dev

How can I navigate to another page in JSF?

From Dev

Cordova: How to navigate to page on success of REST response

From Dev

How can I navigate a page in Xamarin?

Related Related

  1. 1

    How to Navigate from a ListItem to its corresponding page?

  2. 2

    navigate to a Page from the ContentDialog

  3. 3

    Flutter How to navigate from page to page without any users Interaction

  4. 4

    How to navigate from detail Page to Master Detail Page?

  5. 5

    Navigate to default page from OnResume()

  6. 6

    How to navigate to another wpf page

  7. 7

    How navigate back to search page?

  8. 8

    How to navigate to another wpf page

  9. 9

    How to cancel angularjs $timeout when user navigate away from the page

  10. 10

    How to navigate to another Page from a User Control in Windows Phone 8.1

  11. 11

    How to navigate to a web page from within a flutter app? (OAuth)

  12. 12

    How to navigate one Content page to another Content page from client project (IOS/Android) in xamarin forms?

  13. 13

    How do I navigate back to list page after delete from detail page?

  14. 14

    Ionic: How do I include header from one page when I navigate to another page?

  15. 15

    Navigate to a different page from ContinueFileOpenPicker method

  16. 16

    Couldn't navigate from one page to another

  17. 17

    navigate to a new page or window from a page in a desktop WPF application

  18. 18

    navigate to a new page or window from a page in a desktop WPF application

  19. 19

    Navigate from Struts1 page to a Struts 2 page

  20. 20

    Navigate to a certain page of a GridView from an other aspx page

  21. 21

    QStackWidget navigate from page1 to page 2

  22. 22

    page not load from top when navigate to new page in angular

  23. 23

    Beginner: Want to navigate from one page to another page in Angularjs 4

  24. 24

    How to navigate to other page with button in WPF

  25. 25

    How can I navigate to another page in JSF?

  26. 26

    How to navigate to the next page after completing the animation?

  27. 27

    How can I navigate to another page in JSF?

  28. 28

    Cordova: How to navigate to page on success of REST response

  29. 29

    How can I navigate a page in Xamarin?

HotTag

Archive