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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:05:15+00:00 2026-06-11T02:05:15+00:00

Sorry about crazy question I’m a new wp dev using c#. I want to

  • 0

Sorry about crazy question

I’m a new wp dev using c#.

I want to know about solution to make hyperlink to another form.
Now I have listbox use data from data-source binding already.

This case same list thread of webboard and touch for link to detail.

How do I navigate from a link in a listbox to another form?

My code looks like this and I would like to make link replace textblock:

<ListBox.ItemTemplate >
                <DataTemplate>
                    <StackPanel Margin="0,0,0,17" Width="432" Orientation="Horizontal">
                        <Image Source="../Media/Images/play.png" />
                        <StackPanel >
                            <TextBlock Text="{Binding Title}" 
                               TextWrapping="Wrap" 
                               Style="{StaticResource PhoneTextExtraLargeStyle}"/>
                            <TextBlock Text="{Binding ShortDescription}" 
                               TextWrapping="Wrap" Margin="12,-6,12,0" 
                               Visibility="{Binding ShortDescriptionVisibility}" 
                               Style="{StaticResource PhoneTextSubtleStyle}"/>
                            <TextBlock Text="{Binding LongDescription}"
                               TextWrapping="Wrap" 
                               Visibility="{Binding LongDescriptionVisibility}"/>
                            <StackPanel>
                                <Slider HorizontalContentAlignment="Stretch"
                                   VerticalContentAlignment="Stretch" 
                                   Visibility="{Binding LongDescriptionVisibility}" 
                                   ValueChanged="Slider_ValueChanged" 
                                   LargeChange="0.25" SmallChange="0.05"/>
                            </StackPanel>
                        </StackPanel>
                    </StackPanel>
                </DataTemplate>
            </ListBox.ItemTemplate>
  • 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-11T02:05:17+00:00Added an answer on June 11, 2026 at 2:05 am

    Scenario 1: Navigating to web URLs
    Lets say your data-source is having a field with URLs (lets call it NavigateToPageUrl) to which you want to navigate when user clicks on that link. In this case, inside the inner stackpanel (i.e. below the textbox binding to LongDescription) you can write following code:

    Scenario 2: Navigate between forms within the same application:
    In this case, you should have the Form name with you (lets say NavigateToThisForm.xaml), in this case, to any stackpanel you can add a Tag like Tag=”/navigatetothisform.xaml” and write an event handler for stack panel. Complete code will be:

    <StackPanel Tag="/Page2.xaml" Tap="StackPanelTap">
    // Your code to add title and other fields.
    </StackPanel>
    
    
    
    private void StackPanelTap(object sender, GestureEventArgs e)
    {
        var stackpanel = (StackPanel)sender;
        var navigateUrl = stackpanel.Tag.ToString();
        NavigationService.Navigate(new Uri(navigateUrl, UriKind.Relative));
    } 
    

    I hope it helps.

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

Sidebar

Related Questions

Sorry about the wording of the question, I don't really know how to put
Sorry about the vague title, but i didnt know how to ask the question
Sorry about the title, but I don't know how to say what I want.
Sorry about the weird question title, but I don't really know what to call
I'm sorry about this question but I'm very new in mercurial, I have an
Sorry to bother You with yet another question about K&R programs. But again some
Sorry about the stupid question however I can't see/ not good enough to solve
Sorry about the extremely vague question title (any suggestions for improvements welcome) I have
Sorry about the wording for my question title. I have a basic HTML anchor
sorry about the last question. (I hate google traductor). Im working in a MMO

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.