Hi Frnds,
I m new to Ajax, and i m using some toolkit extenders for my application.
When i declared a Label and an Image in the Header Panel of a CollapsablePanelExtender, its displaying controls on separate lines.
but i want to display label on the left side and image on right side.
Is there any tech to do like this since its taking more space and looking bad.
thanks in advance
Regards
Hasan
Hi Hasan,
I think you problem is a CSS related issue. Actually, itemplate header works as a div container but it is not recommended to changes its CSS directly. We suggest that you add another container (div) and add css style to the newly added container. For example,
<div style="width: 100%;">
<asp:Label ID="Label1" runat="server" Text="Label" Style="float: left"></asp:Label>
<asp:Button ID="Button2" runat="server" Text="Button" Style="float: right" /></div>
Another way is using a Table to control its showing position.
Best regards,
Jonathan
No comments:
Post a Comment