Silverlight 3中的图像控制未加载 [英] Image contorl in silverlight 3 is not getting loaded
本文介绍了Silverlight 3中的图像控制未加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我的图像控件未加载. < Image Source ="E:\ Images \ ABC.jpg"> </Image>.这个标签是否有效?否则我们必须在.cs页面中进行编码以加载图像
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
推荐答案
除非您的应用程序满足非常严格的规则集,否则您将无法加载客户端文件.
您想用Google搜索诸如
之类的字词
0)Isolated Storage
-允许Silverlight在客户端计算机上存储几MB数据
1)cross domain policy file
-如果您的图像/文件位于承载Silverlight应用程序的同一域中,则不需要跨域策略文件
2)out-of-browser
-允许您在客户端加载/保存数据,但只能加载/保存到客户端系统上的特定位置.
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.
这篇关于Silverlight 3中的图像控制未加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文