Solved

Deep Zoom and Silverlight 4

Posted on 2011-02-26
2
462 Views
Last Modified: 2012-05-11
How do I add my XAP file to a default Silverlight 4 website?

Is there anyting else I need to add in besides the XAP file? I am new to this and am just now learning the first steps.

Thanks,
newbieweb
0
Comment
Question by:newbieweb
2 Comments
 
LVL 16

Accepted Solution

by:
Kalpesh Chhatrala earned 500 total points
ID: 34990170
Add the HTML markup from you default.aspx page in your Silverlight app to your .aspx page in your exisiting app. Something like this:

<object type="application/x-silverlight-2"      
    data="data:application/x-silverlight,"    
    style="position:fixed;height:100%; width:100%;">  
        <param name="source" value="ClientBin/YourXAPFile.xap"/>  
        <param name="minRuntimeVersion" value="3.0.40624.0" />
        <param name="autoUpgrade" value="true" />
     <div align="center" style="background-image:url(ClientBin/Icons/install_v1.png);height:100%;background-repeat:no-repeat;background-position:center;background-color:#666;padding:0">
        <div style="text-align:center;padding-top:300px;">
            <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration: none">
                <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight"
                    style="border-style: none" />
            </a>
        </div>
    </div>
</object> 

Open in new window

0
 

Author Closing Comment

by:newbieweb
ID: 34994086
Thanks.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
comparing string in C# 3 34
Copy/Clone an object. 9 17
Visual Studio 2013 debugging 2 24
Adjust the position 3 14
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now