B
brian.chandley
I am creating a Composite Server Control (.NET 1.1), the Control is
comprised of 3 Table Rows.
It works perfectly well during run time, and when it is webform alone.
The problem arises in the VS.net designer when the control is placed
in a Table.
<table >
<CC1:TerritorySearch id="SYRTerritorySearch2" runat="server"></
CC1:TerritorySearch>
</table>
It continues to work when it is rendered to the browser, but none of
the controls are displayed in the VS.NET designer. The table is
displayed, and any other rows I place in the table are displayed, just
not the control I have developed shows up.
I have created a very simple designer for the control that ensures the
control collection is created prior to calling GetDesignTimeHtml.
My question boils down to: Is there any thing that can be done to a
control that needs to be nested in a table to enable simple design-
time support?
Other details that might be useful:
The control inherits from System.Web.UI.WebControls.WebControl and
Inplements INamingContainer
I have tried rendering the control using the methods of the
HtmlTextWriter class, and creating all the rows and Cells as
HtmlTableCells and HtmlTableRows.
Any input would be appreciated.
Brian
comprised of 3 Table Rows.
It works perfectly well during run time, and when it is webform alone.
The problem arises in the VS.net designer when the control is placed
in a Table.
<table >
<CC1:TerritorySearch id="SYRTerritorySearch2" runat="server"></
CC1:TerritorySearch>
</table>
It continues to work when it is rendered to the browser, but none of
the controls are displayed in the VS.NET designer. The table is
displayed, and any other rows I place in the table are displayed, just
not the control I have developed shows up.
I have created a very simple designer for the control that ensures the
control collection is created prior to calling GetDesignTimeHtml.
My question boils down to: Is there any thing that can be done to a
control that needs to be nested in a table to enable simple design-
time support?
Other details that might be useful:
The control inherits from System.Web.UI.WebControls.WebControl and
Inplements INamingContainer
I have tried rendering the control using the methods of the
HtmlTextWriter class, and creating all the rows and Cells as
HtmlTableCells and HtmlTableRows.
Any input would be appreciated.
Brian