Hi Ori,
I have written applications where the content is in a Panel which is not anchored to any side, thereby allowing the panel to float in the center of the browser, but that's not the effect I'm after. I don't have an issue with the user resizing the browser, and the content will, of course, behave appropriately when they do (just like a WinForm application), but I am wanting the browser window to start its life at a certain size (just like a WinForm application).
That being said, there's really two things going on here:
1) I believe I have the javascript for multi-browser support. I'm not concerned about that, but that's really the smaller picture.
2) The bigger picture is, as far as I've been able to find, there's really no good (read: easy) way to add custom javascript to a VWG form. In general, I believe that's a problem that needs solved. Solutions could be an api call that injects the javascript in an appropriate place, a control that can get added to the form to output javascript, or something I haven't thought of, but IMHO that facility needs to be there.
I can see the issue where the javascript emitted by the programmer might conflict with that emitted by the VWG engine, but that would be on the programmer's shoulders to fix. A few simple caveats in the documentation may be enough to help the programmer determine would can and should not be done in custom javascript. But that's, I believe, an issue today with custom controls anyway.
-- Michael