Solved

Deep Zoom and Silverlight 4

Posted on 2011-02-26
2
466 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 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