A textbox is nested in a WebPanel. Both have style="position:absolute".
Attachment shows how the two controls look at design time vs run time. As you can see, at runtime, the textbox is absolute in relation to the top left of the page, not the control.
What I want to do is offset the top and left of the textbox when the control renders. Attachment shows the WebPanel control when it renders, then shows the textbox control when it renders. As you can see, I have access to this.Style when the panel renders, but when the textbox renders the panel's Style (this.Parent.Style) collection is missing.
Why do I not have access to the panel's Style collection when the textbox renders?
Is there a better way to offset the textbox? (preference is to do it in code-behind, not JavaScript)
Thanks in advance for your assistance.
Jake