WebControlWrapper.SetupHTML
From Xojo Documentation
Event
Used to generate the initial HTML for your control.
Notes
Your control should be wrapped in a DIV tag which indicates its boundaries. At the very least, you must return a DIV object with an ID that matches the ControlID supplied by the web framework. Failure to do so may cause your control to not receive all framework property changes or events.