在 DataGridTemplateColumn 中使用 AutoCompleteBox 时,该程序集不允许部分受信任的调用者

发布于 2024-08-30 20:11:23 字数 241 浏览 5 评论 0原文

我开发了使用数据网格的 XBAP 部分信任。 此 DataGrid 有一个 TemplateColumn,它使用 AutoComplateBox 作为编辑元素。 当单击该列的单元格之一时抛出异常

System.Security.SecurityException: That assembly does not allow partially trusted callers.

有什么想法吗? 坦克斯

I Develope a XBAP Partial trust that use datagrid.
This DataGrid has a TemplateColumn that use AutoComplateBox as Editing Element.
When Click on One of that Column's cell throw the exception

System.Security.SecurityException: That assembly does not allow partially trusted callers.

any idea?
tanx

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

酒解孤独 2024-09-06 20:11:23

这个问题在Visual Studio 2010中解决了,可以使用,没有任何异常

This problem solved in Visual Studio 2010 and can use it without any exception

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文