I have a SL4 application that I'm trying to deploy as a webpart in Sharepoint 2010. To give you a background -- the SL project name is MyStuffApp. And there's a designated test page project called MyStuffApp.Web. Now, MyStuffApp has 2 different xaml pages,
page1.xaml and page2.xaml. I've added two aspx pages on MyStuffApp.Web called page1.aspx and page2.aspx to respectively host the two xaml.
When I run the application, page1.aspx opens up. It has a hyperlinkbutton on it, which when clicked, opens up pag2.aspx. I've properly managed this on App.xaml.cs as well.
Now my problem is -- when I deploy the project as a web part, I can see page1.aspx. But when I click on that hyperlinkbutton, it doesn't display the content of page2.aspx, and I instead get the standard IE error "cannot display the webpage".
Can someone help me troubleshoot the issue?
I'm very new to web parts, so I'm trying to learn things step-by-step.
View Complete Post