摘要: 由于加载的xaml 必须和Silverlight application不能放在一起 在web host上添加新建项xaml Scen1代码: <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.co... 阅读全文
posted @ 2009-12-21 20:38 3.mu 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1 如果要获得的对象就是产生事件的对象,则最简单。正如QuickStarts中列举的那样 function changelocation(sender, args) { sender["Canvas.Top"] = 70; } 2 如果要获得对象包含的子元素对象,则可使用findName方法 function changeEllipseColor(sender, args) { sen... 阅读全文
posted @ 2009-12-21 16:48 3.mu 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 首先发布Wcf到IIS上 在发布的时候 有时候IIS无法识别svc文件 就需要添加 然后就是添加跨域文件 1.clientaccesspolicy.xml <access-policy> <cross-domain-access> <policy> <allow-from http-request-headers="*"> <domain ... 阅读全文
posted @ 2009-12-21 14:13 3.mu 阅读(618) 评论(0) 推荐(0) 编辑