Skip to main content
Home Forums Silverlight Programming Visual Studio & Silverlight Development Tools Web-page
4 replies. Latest Post by pardeepkaushik8 on March 5, 2009.
(0)
Ladyzay
Member
1 points
9 Posts
02-01-2009 1:00 PM |
hello
I have just created a set of buttons in expression blend 2, and also created a couple of pages in Visual studio 2005.
I was to link each button to each page created in vsual studio 2005.
how do I go about about adding events to the buttons to display the pages when a user clicks on the buttons.
Thanks
Have a nice day
chiyau
152 points
16 Posts
02-01-2009 1:20 PM |
Hi Ladyzay
You can try to do that, on the Click Event on that Button that you created on Expression Blend,
private void btn_GoToURL_Click(object sender, RoutedEventArgs e) {
HtmlPage.Window.Navigate(new Uri("http://silverlight.net"));
}
Hope this can help.
pardeepk...
20 points
15 Posts
02-01-2009 1:25 PM |
hello i think you can dirctly
add click_button event handller in Xaml and on right click on that navigate to code file
and write code related to vt you want
roudihamzeh
2 points
2 Posts
03-04-2009 8:59 AM |
Ladyzay..
are your pages .xaml or .html..?
03-05-2009 12:46 AM |
sorry i did'nt understood your question
here is your answer i can help you out
HtmlPage.Window.Navigate(new Uri("http://silverlight.net/forums/AddPost.aspx?ReplyToPostID=168705&Quote=False"));