Hi all,
I am experimenting with wrapping ASP.NET controls using the AspControlBoxBase. This mostly worked well. The unexpected results of my experimentation were that setting a property on the server side wrapped control was not reflected in the client side unless I called the Update method with an argument of true. This causes a full refresh of the client side control.
The full refresh is what I would like to avoid if at all possible. As an example, I have a different experiment that uses a JavaScript HTML5 gauge control that is a VWG custom user control based upon the HtmlBox and the HtmlBoxSkin. This uses the standard VWG communication and event pipeline and does not cause a full IFRAME refresh.
From what I can see, the AspControlBoxBase uses the ControlContent property value to render the ASP.NET control and does not implement the Source property from the FrameControl class. I suppose that what I am wanting to achieve is using the ease of the AspControlBoxBase class in wrapping an ASP.NET control with the flexibility of hooking into the communication and event pipeline that a VWG custom user control provides (e.g. InvokeMethodWithId). Is this at all possible?
Somewhat related to this is that I also have the ability to use ASP.NET MVC controls and I see that the "MVC" keyword is used throughout the VWG site and yet it is not certainly clear that these controls can be used or wrapped either (apart from a 2008 post by Guy which states that VWG did not support ASP.NET MVC). Is this possible or no?
Thanks in advance.
Deryk