I have an OnClick event for my Pushpins as below.
void BusStop1061_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{
MessageBox.Show("Buses from this station: City Link");
}
I would like to pass the bustop number to another page and to the int "PassedVariable"
private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
{
string site = "http://www.sourceDomain?stop=" + PassedVariable;
webBrowser1.Navigate(new Uri(site, UriKind.Absolute));
}
I was thinking of creating a constant int on the Page one, then passing it to page 2 using urimapping, but it doesn't seem to work and I figured someone might have a better option
I have had a look at similar posts, but they dont quite answer my question.