ASP.NET - Content panel with Control - Asked By rajesh kumar on 13-Feb-12 09:23 AM

I got a requirement like..I need to place check box control beside the heading of the content panel.
content panel heading is Address Details and next to this i have to display a checkbox with text "Use tha same Adres of above".Both should be in the same line.

can anyone guide me on how to acheive this.
Web Star replied to rajesh kumar on 13-Feb-12 10:46 AM
if you want to display two control in same line than better way is you can use table and put control in column of same row in table as follows

<Table>
<tr>
<td>
  <Asp:Label id="lblHeader" runat="server" Text="Address Details"/>
</td>
<td>
  <Asp:Checkbox id="chkAddBoth" runat="server" Text="Use tha same Adres of above" />
</td>
</tr>
</Table>

by above code both are showing in same line
rajesh kumar replied to Web Star on 14-Feb-12 01:16 AM
Thanks for the response...But i have do this with content panel.
Web Star replied to rajesh kumar on 14-Feb-12 03:36 AM
Yes you can put table within your content panel simply.
rajesh kumar replied to Web Star on 15-Feb-12 12:22 AM
But the requirement is both content panel heading and check box should be in the same line.