Navigation Between MainPage and ViewEdit Pages - Day 4 - Part 10

Download this episode

Download Video

Description

Bob wires up the navigation between the MainPage.xaml's ListBox and the ViewEdit.xaml page. In the process, we learn about the Tag property of the HyperlinkButton to store the filename of each item in the DataTemplate. Using this, a QueryString can be constructed and used to pass the file name of the desired file to the ViewEdit.xaml page.

Download the source code in c#

Download the source code in VB.Net

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      dwrogers

      "Well, I'm looking at this and I'm seeing here that I clearly have pulled this out of somewhere..." Smiley

      ROFL!

    • User profile image
      razan yahoo mz32 .com

      80mo5y    37406-6139235-1

    • User profile image
      Mintydog

      Good video, I like seeing your mistakes in these videos Bob, and what you do to fix them. It helps us learn too. Makes me laugh listening to you sometimes, like in the other video saying you didnt liek how people pronounced the "asmx" lol

      Good stuff.

    • User profile image
      Jaguma

      Bob, I made a directory called 'Pages' for my Add.xaml and viewEdit.xaml... how do I navigate to MainPage.xaml from them? Smiley

    • User profile image
      minompi

      Perfect! it's nice to see you Fix the bug on live! Thanks

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.