I'm using the InputFormSection control on a custom user control, sample below
<table border="0" cellspacing="0" cellpadding="0" class="propertysheet" width="700px">
<colgroup>
<col style="width: 40%" />
<col style="width: 60%" />
</colgroup>
<tr>
<td>
<wssuc:InputFormSection Title="Business Type" runat="server">
<template_inputformcontrols><Template_Control>
<asp:Label runat="server" ID="lblBusinessTypeSelected"></asp:Label>
</Template_Control>
</template_inputformcontrols>
</wssuc:InputFormSection>
<wssuc:InputFormSection Title="Business Name" runat="server">
<template_inputformcontrols><Template_Control>
<asp:Label runat="server" ID="lblBusinessName"></asp:Label>
</Template_Control>
</template_inputformcontrols>
</wssuc:InputFormSection>
and so on...
My rows are really spaced out, and I'm not getting the cool shaded background on the right column like I should.
but i want it to look like normal SharePoint
Any ideas?
UPDATE I copied the contents from the second good image (_layouts/prjsetng.aspx) into my page, and i still have the spacing issue... BTW this is a custom form for my list, and it looks the same when using dialog and not.
UPDATE I copied my code into a clean application page and it looked better, however still had some spacing issues.
After further investigation and comparing the newform from a default task list through IE Dev tool bar, and the output from my code above, it appears as though these are not the same controls, not even close. The InputFormSections appear to be for application pages, not the list forms.
Using SharePoint Designer I converted one of these list forms into a custom list form to confirm, and sure enough they simply use
Ug, I should've stuck with my gut on this one and stayed with tables...