How to use TabContainer in SharePoint 2013
See original GitHub issueHey! When I place a html table in tabPanel in SharePoint 2013, for some reason the table showing out of the tabPanel.
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DocInfo.ascx.cs" Inherits="RSIT.OfficeWork.ControlTemplates.RSIT.OfficeWork.DocInfo" %>
<%@ Register Assembly="AjaxControlToolkit, Version=17.1.1.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<ajaxToolkit:TabContainer runat="server" ActiveTabIndex="0" Width="100%">
<ajaxToolkit:TabPanel runat="server" HeaderText="header1" ID="TabPanel1">
<ContentTemplate>
<table style="width: 100%;">
<tr>
<td>1</td>
<td>sdf</td>
<td>66</td>
</tr>
<tr>
<td>2</td>
<td>scxv</td>
<td>55</td>
</tr>
<tr>
<td>3</td>
<td>cvbvnv</td>
<td>44</td>
</tr>
</table>
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel2" runat="server" HeaderText="header 2">
<ContentTemplate>
1
</ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
AJAXToolKit's TabContainer in SharePoint - MSDN - Microsoft
Hi All, I am trying to use TabContainer from inside a web part and the UI of the tabs is broken. I am...
Read more >AJAX tabcontainer, User Control and Sharepoint UserProfile
Hi All, I am working on following requirement. There is AJAX control, tabcontainer which is added in a user control which inturn is...
Read more >TabContainer not a known element - MSDN - Microsoft
Net application developed on VS2010 .Net 4.0 using Ajax TabContainer working perfectly. I tried to move the code to run under SharePoint ......
Read more >TabContainer/TabPanel set focus to control on load ... - MSDN
I am using the Tabcontainer/Tab Panel for my ASP.NET application. On page load, I am setting the ActiveTabIndex to the first tab:.
Read more >How to change tab panel of tab container programmatically on ...
i am having one tab container with two tab panel. ... Sunday, January 6, 2013 7:14 AM ... Use below code for respected...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is no problem, if you place “Info.ascx” control in application page, but I use “Info.ascx” control in another control (“MyControl.ascx” with renderingtemplete id=“CustomForm”), that is rendering template of my custom content type. So, adding styles doesn’t work in this situation. To reproduce this problem, you have to set “NewFormTemplateName”, “DisplayFormTemplateName” and “EditFormTemplateName” values to “CustomForm” on one of your content type, using Sharepoint Manager. Than try to create new item in list.
TabContainer_.zip