Hi! The method GetPersistenceContent is used to supply serialized data about the setup of a control. This basically works for me.
My problem is that I want my subtags in CodeView to be properly indented, the way MS WebControls such as DropDownList are rendered. Alas, my control's subtags doesnt automatically get indented. The first sub-tag (line) is appended on the same line as the main tag, the rest comes below, without any indentation at all (right to the left edge of the page). Quite ugly, I think. Obviously there is a way to do this properly, since Microsoft's controls get nicely indented. I believe I need to get the current indentation state from somewhere, to decide what indentation characters I need to add to my output string. However, I cannot find where to get this information. The object that calls GetPersistenceContent is the likely answer, but how do I get it? Sverker =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com