I bought a book named "Microsoft Silverlight 4 from entry to entry" yesterday. Today I am very eager to start learning. At first glance, the writing is very simple, basically an entry-level introduction. However, when I made my own examples, I still encountered several problems. We can discuss them to solve them.
Question 1: How long is the Silverlight project?
Create the first Silverlight project. Do you want to use it all? The default setting is used. Why are there two projects under the solution?
By observing the project with web at the end, it seems that when I created the project, I checked to host the Silverlight project on the web site. This seemed to aim at ASP.. Net program, but there are still many other files in the two files that you don't understand.
Question 2: How does the hyperlinkbutton control implement hyperlinks between pages (seemingly difficult to implement)
In the above project, I created an image page in addition to the mainpage page. I Want To overconnect the mainpage to the image page. I thought it was very simple, but the problem was solved.
Navigateuri = "/image. XAML" I want to achieve hyperlinks between pages, but it cannot be implemented at all.
Navigateuri = "http://www.cnblogs.com" but this way you can successfully navigate to the blog site home
A bit depressing is that in the Silverlight for Windows Phone program, you can set the hyperconnection through the first method above.
I did not find any good answers after I checked the information on the Internet. The example of hyperlinkbutton hyperconnection is the second one, then I created another Silverlight navigation application. I just read it and it seems like I want to define the navigation rules myself. It seems that there is something like ASP. net MVC, I want to know if my first method can implement navigation between pages. I hope you can share your hyperlink technology.