c# - I have a problem with TabContainer control -
it doesnt appear on screen when run it..but appear in visual studio 2010 in design view. want set tabs left right right left:
<asp:tabcontainer id="tabcontainer1" runat="server" activetabindex="2" height="584px" width="739px" autopostback="true" backcolor="#666699" bordercolor="#666699"> <asp:tabpanel id="questions" runat="server" headertext="שאלות"> <contenttemplate> <asp:gridview runat="server" height="547px" style="margin-left: 2px; margin-top: 15px" width="667px"> </asp:gridview> </contenttemplate> </asp:tabpanel> <asp:tabpanel id="answers" runat="server" headertext="תשובות"> <contenttemplate> <asp:gridview id="gridview1" runat="server" height="547px" style="margin-top: 17px" width="666px"> </asp:gridview> </contenttemplate> </asp:tabpanel> <asp:tabpanel id="responses" runat="server" headertext="תגובות"> <contenttemplate> <asp:gridview id="gridview2" runat="server" height="547px" style="margin-top: 21px" width="666px"> </asp:gridview> </contenttemplate> </asp:tabpanel> </asp:tabcontainer>
for set tabs right left add following style onto page:
.ajax__tab_header { text-align: right; }
but resolving visibility issue not enough information. play visibility property in code-behind?
Comments
Post a Comment