Learn about the problems of Silverlight on the first day

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.