Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. TabContainer cannot have children of type 'System.Web.UI.UpdatePanel'.

TabContainer cannot have children of type 'System.Web.UI.UpdatePanel'.

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdesignsysadmindocker
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    developerit
    wrote on last edited by
    #1

    hi iam using asp.net with c# in my client form iam using tabcontainer control with update pannel in tab container iam having dropdownlist ,onsectedindex changed event i have to visble and unvisble the text box control for that iam getting erroe can you correct my code

    <cc1:TabContainer ID="infotab" runat="server" ActiveTabIndex="1" >
    <cc1:TabPanel ID="TabBranchpanel" runat="server">
    <HeaderTemplate> معلومات الفرع</HeaderTemplate>
    <ContentTemplate>
    <fieldset><legend> معلومات الفرع</legend>
    <table><tr><td>العقد رقم:</td><td><asp:TextBox ID="txtcontractno" runat="server" TabIndex="15"></asp:TextBox></td><td><asp:RequiredFieldValidator ID="reqcontractno" runat="server" ControlToValidate="txtcontractno" ErrorMessage="عقد لا يمكن لا يكون فارغا">*</asp:RequiredFieldValidator><cc1:ValidatorCalloutExtender ID="cccontractno" runat="server" TargetControlID="reqcontractno" Enabled="True" ></cc1:ValidatorCalloutExtender><cc1:TextBoxWatermarkExtender ID="wwcontractno" runat="server" TargetControlID="txtcontractno" WatermarkText="أدخل رقم العقد" Enabled="True" WatermarkCssClass="textcss"></cc1:TextBoxWatermarkExtender></td><td style="width: 103px; height: 38px;">منطقة:</td><td style="height: 38px"><asp:DropDownList ID="ddlRegions" runat="server"><asp:ListItem Value="Central">مركزي</asp:ListItem>
    <asp:ListItem Value="Western">الغربي</asp:ListItem>
    <asp:ListItem Value="Eastern">الشرقية</asp:ListItem>
    <asp:ListItem Value="Northern">شمالي</asp:ListItem>
    <asp:ListItem Value="Southern">جنوبي</asp:ListItem>
    </asp:DropDownList></td></tr>
    <tr><td style="width: 103px; height: 12px;">مدينة:</td><td style="height: 12px"><asp:TextBox ID="txtcity" runat="server" TabIndex="5"></asp:TextBox></td><td style="height: 12px"><cc1:TextBoxWatermarkExtender ID="wwcity" runat="server" TargetControlID="txtcity" WatermarkText="أدخل مدينة" Enabled="True" WatermarkCssClass="textcss"></cc1:TextBoxWatermarkExtender></td><td style="width: 103px">منطقة:</td><td><asp:TextBox ID="txtarea" runat="server" TabIndex="6"></asp:TextBox></td><td><cc1:TextBoxWatermark

    J 1 Reply Last reply
    0
    • D developerit

      hi iam using asp.net with c# in my client form iam using tabcontainer control with update pannel in tab container iam having dropdownlist ,onsectedindex changed event i have to visble and unvisble the text box control for that iam getting erroe can you correct my code

      <cc1:TabContainer ID="infotab" runat="server" ActiveTabIndex="1" >
      <cc1:TabPanel ID="TabBranchpanel" runat="server">
      <HeaderTemplate> معلومات الفرع</HeaderTemplate>
      <ContentTemplate>
      <fieldset><legend> معلومات الفرع</legend>
      <table><tr><td>العقد رقم:</td><td><asp:TextBox ID="txtcontractno" runat="server" TabIndex="15"></asp:TextBox></td><td><asp:RequiredFieldValidator ID="reqcontractno" runat="server" ControlToValidate="txtcontractno" ErrorMessage="عقد لا يمكن لا يكون فارغا">*</asp:RequiredFieldValidator><cc1:ValidatorCalloutExtender ID="cccontractno" runat="server" TargetControlID="reqcontractno" Enabled="True" ></cc1:ValidatorCalloutExtender><cc1:TextBoxWatermarkExtender ID="wwcontractno" runat="server" TargetControlID="txtcontractno" WatermarkText="أدخل رقم العقد" Enabled="True" WatermarkCssClass="textcss"></cc1:TextBoxWatermarkExtender></td><td style="width: 103px; height: 38px;">منطقة:</td><td style="height: 38px"><asp:DropDownList ID="ddlRegions" runat="server"><asp:ListItem Value="Central">مركزي</asp:ListItem>
      <asp:ListItem Value="Western">الغربي</asp:ListItem>
      <asp:ListItem Value="Eastern">الشرقية</asp:ListItem>
      <asp:ListItem Value="Northern">شمالي</asp:ListItem>
      <asp:ListItem Value="Southern">جنوبي</asp:ListItem>
      </asp:DropDownList></td></tr>
      <tr><td style="width: 103px; height: 12px;">مدينة:</td><td style="height: 12px"><asp:TextBox ID="txtcity" runat="server" TabIndex="5"></asp:TextBox></td><td style="height: 12px"><cc1:TextBoxWatermarkExtender ID="wwcity" runat="server" TargetControlID="txtcity" WatermarkText="أدخل مدينة" Enabled="True" WatermarkCssClass="textcss"></cc1:TextBoxWatermarkExtender></td><td style="width: 103px">منطقة:</td><td><asp:TextBox ID="txtarea" runat="server" TabIndex="6"></asp:TextBox></td><td><cc1:TextBoxWatermark

      J Offline
      J Offline
      Jamil Hallal
      wrote on last edited by
      #2

      Can you specify the exception that you are getting?

      Regards, Jamil

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups