Click here to Skip to main content
15,905,563 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
My Image control is not getting loaded. <Image Source="E:\Images\ABC.jpg"> </Image>. Is this tag just works. or we have to code in .cs page to load images
Posted

1 solution

You can't load client-side files unless your app meets a very restricted set of rules.

You want to google terms like

0) Isolated Storage - allows Silverlight to store a few MB of data on the client's computer

1) cross domain policy file - if your images/files are on the same domain that the Silverlight app is hosted on, no cross domain policy file is required

2) out-of-browser - allows you to load/save data client side, but only to a specific location on the client system.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900