By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,215 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,215 IT Pros & Developers. It's quick & easy.

hosting winforms in html page

P: n/a
hi !
i'm trying to hosting a c# winforms controls in html page
in client side mode ...
i configured CAS and all stuffs ...
control work ok and i can pass paramenter to control and
and i can call public method ...
CAS is configured with new group in machine-local intranet
to give full trust to http://localhost/website/*

now i'm trying to intercept events of .NET control in js ...

if i follow this sample
this sample works only if i set CAS to give full trust to http://localhost/*
i see that the problem is in AssemblyInfo.cs

in the line

[assembly: AssemblyKeyFile("client.snk")]

if i change the line in

[assembly: AssemblyKeyFile("")]

i can use my previous CAS setting ( http://localhost/website/* )
but in this way js event doesn't fire !??!?!?!

i'm very afraid, i can't find a solution ...

thanks in advance for all help and support !!!!
Oct 4 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.