From Xojo Documentation


WebControlWrapper.SetupHTML() As String

New in 2012r2

Supported for all project types and targets.

Used to generate the initial HTML for your control.


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.

Return "<div id=""" + Self.controlid + """></div>"