Headertext没有出现 [英] Headertext is not appearing

查看:84
本文介绍了Headertext没有出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
							<ajaxToolkit:TabContainer  runat="server" ID="Tabs" Height="138px" ActiveTabIndex="0"

    Width="402px">
    <ajaxToolkit:TabPanel  runat="server" ID="Panel1" HeaderText="Address">
        <contenttemplate>
            <asp:UpdatePanel ID="updatePanel1" runat="server">
                <contenttemplate>
                    <table>
                        <tr>
                            <td>
                                First Name:
                            </td>
                            <td>
                                <asp:TextBox ID="txtName" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Address:
                            </td>
                            <td>
                                <asp:TextBox ID="txtAddress" runat="server" />
                            </td>
                        </tr>
                    </table>
                </contenttemplate>
            
        </contenttemplate>
    
    <ajaxToolkit:TabPanel  runat="server" ID="Panel3" HeaderText="Nested Tabs">
        <contenttemplate>
            <ajaxToolkit:TabContainer  runat="server" ID="NestedTabContainer1" Height="138px"

                ActiveTabIndex="0" Width="402px">
                <ajaxToolkit:TabPanel  runat="server" ID="TabPanel1" HeaderText="Address">
                    <contenttemplate>
                        <asp:UpdatePanel ID="updatePanel2" runat="server">
                            <contenttemplate>
                                <table>
                                    <tr>
                                        <td>
                                            First Name:
                                        </td>
                                        <td>
                                            <asp:TextBox ID="TextBox1" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Address:
                                        </td>
                                        <td>
                                            <asp:TextBox ID="TextBox2" runat="server" />
                                        </td>
                                    </tr>
                                </table>
                            </contenttemplate>
                        
                    </contenttemplate>
                
                <ajaxToolkit:TabPanel  runat="server" ID="TabPanel2" HeaderText="Email">
                    <contenttemplate>
                        Email:
                        <asp:TextBox ID="txtEmail" runat="server" />
                    </contenttemplate>
                
                <ajaxToolkit:TabPanel  runat="server" ID="TabPanel3" HeaderText="Login Details">
                    <contenttemplate>
                        <table>
                            <tr>
                                <td>
                                    User Name:
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBox3" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Password:
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBox4" runat="server" />
                                </td>
                            </tr>
                    </table></contenttemplate>
                
            
        </contenttemplate>
    
    <ajaxToolkit:TabPanel  runat="server" ID="Panel2" HeaderText="Login Details">
        <contenttemplate>
            <table>
                <tr>
                    <td>
                        User Name:
                    </td>
                    <td>
                        <asp:TextBox ID="txtUser" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        Password:
                    </td>
                    <td>
                        <asp:TextBox ID="txtPass" runat="server" />
                    </td>
                </tr>
        </table></contenttemplate>

推荐答案

您的 ajaxToolkit 标签都没有关闭!!!

ToolkitScriptManager,TabContainer,TabPanel,UpdatePanel。 ..

重新格式化您的标签 - 包括嵌套......
None of your ajaxToolkit tags are closed!!!
ToolkitScriptManager, TabContainer, TabPanel, UpdatePanel...
Reformat your tags - including nested...


这篇关于Headertext没有出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆