Ajaxtabcontrol未显示在网页中

时间:2021-08-04 19:21:13

I am using Ajax tabcontrol ...Here is my code

我正在使用Ajax tabcontrol ...这是我的代码

<table id="tblajaxtab">
    <tr>
        <td>
            <asp:UpdatePanel ID="updatetabcontrol" runat="server">
                <ContentTemplate>
                    <cc1:TabContainer ID="tabcontainer" runat="server" ActiveTabIndex="0" AutoPostBack="false"
                        OnDemand="true" ScrollBars="None" UseVerticalStripPlacement="true" Height="250px"
                        Width="500px"   VerticalStripWidth="120px" TabStripPlacement="Top">
                        <cc1:TabPanel ID="SQlServer" runat="server" HeaderText="SQL Server" Enabled="true"
                            OnDemandMode="Once" ScrollBars="Auto">
                            <ContentTemplate>
                                <table id="tblsqlserver">
                                    <tr>
                                        <td>
                                            Database table name
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txttablename" runat="server" Width="180"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </cc1:TabPanel>
                        <cc1:TabPanel ID="csv" runat="server" Enabled="true" OnDemandMode="Once" HeaderText="CSV">
                            <ContentTemplate>
                            </ContentTemplate>
                        </cc1:TabPanel>
                    </cc1:TabContainer>
                </ContentTemplate>
            </asp:UpdatePanel>
        </td>
    </tr>
</table>

when I run this. Nothing is displaying. Please can you tell we whats wrong with me.

当我跑这个。没有任何东西在显示。请告诉我们我的错事。

1 个解决方案

#1


1  

I don't see a ToolkitScriptManager in your code.

我在代码中没有看到ToolkitScriptManager。

Please refer this link below.

请参考下面的链接。

http://www.aspdotnet-suresh.com/2011/11/ajax-tabcontainer-sample-or-how-to.html

http://www.aspdotnet-suresh.com/2011/11/ajax-tabcontainer-sample-or-how-to.html

Hope it help.

希望它有所帮助。

#1


1  

I don't see a ToolkitScriptManager in your code.

我在代码中没有看到ToolkitScriptManager。

Please refer this link below.

请参考下面的链接。

http://www.aspdotnet-suresh.com/2011/11/ajax-tabcontainer-sample-or-how-to.html

http://www.aspdotnet-suresh.com/2011/11/ajax-tabcontainer-sample-or-how-to.html

Hope it help.

希望它有所帮助。