Complex Question?
-
I was recently given an assignment which I thought would be very easy, but which is turning out not to be. Our application has a huge, MFC based, activeX control which runs in the browser. We want to use .NET to capture the bulk of this control's behavior on the server side. However, part of the ActiveX control's behavior involves dragging and dropping icons on to images. We want to do this on the client side. (i.e., capture mousemove events for draging and dropping on the client side browser so that we are not making too many round trips to the server) In other words, we want the UI of the ActiveX control to work exactly as it does now in the browser, only with .NET tools. Is this possible? I can get the behavior I want by using .NET Windows forms controls. But Windows forms controls cannot be used in a browser. (At least I can't get them to). I can get some of the behavior useing .NET Web forms controls, but again, the interactivity with a web form control is limited because of the round trip nature of interacting between client and server. I have come down to the opinion that the answer is to use a light weight ATL ActiveX control containing a web service proxy to communicate with the server. However, my supervisor insists that this is doable with a pure .NET solution. I can't find one. Any ideas?