473,395 Members | 1,931 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

a terrible thread title about tab panels

3
Does anyone have a sample tab panel that is working that they can paste below (or e-mail to me)? I'm making a mistake somewhere and cannot figure out where. If I had a sample tab panel that is already working correctly I can work from there.

Thanks in advance.
May 30 '07 #1
5 1464
Silent1Mezzo
208 100+
Does anyone have a sample tab panel that is working that they can paste below (or e-mail to me)? I'm making a mistake somewhere and cannot figure out where. If I had a sample tab panel that is already working correctly I can work from there.

Thanks in advance.
How bout you show us your code and we can help you fix it.
May 30 '07 #2
srelu
3
hi,
i have created 3 tabcontainer using ajaxtoolkit..my code is

Expand|Select|Wrap|Line Numbers
  1. <div class="tabcontentstyle">
  2. <div id="tcontent1" class="tabcontent">
  3. <table width="100%" align="center" style="border:#b0bec7 1px solid;">
  4. <tr>
  5.             <td colspan="2" align="center" style="border-bottom:#b0bec7 1px solid;"><b>VEHICLE DETAILS</b>
  6.             </td>
  7.            </tr>
  8. <tr><td> VehicleRegistration.</td>
  9. <td>
  10. <asp:TextBox ID="txt_regvehicle" TextMode="SingleLine" runat="server" Width="163px" OnTextChanged="chk_vehicle" AutoPostBack="true"></asp:TextBox>
  11.                 <br />
  12.               <asp:Label ID="lbl_RegError" runat="server" ForeColor="Red" Visible="False"></asp:Label></td>
  13.             </tr>
  14.         <tr><td>Make:</td>
  15.             <td><asp:DropDownList ID="ddl_Make" runat="server" Width="170px" />&nbsp;<!--<a href="addmake.aspx" onclick="NewWindow(this.href,'addmake','350','150','no','center');return false" onfocus="this.blur()" visible="false">Add Make</a>-->
  16.             </td>
  17.         </tr>
  18.         <tr><td>Model:</td>
  19.              <td><asp:DropDownList ID="ddl_Model" runat="server" Width="170px" />
  20.                 </td>
  21.         </tr>
  22.          <tr><td>Type:</td>
  23.             <td><asp:DropDownList ID="ddl_Type" runat="server" Width="170px" />
  24.             </td>
  25.         </tr>
  26.         <tr><td>Additional notes:</td>
  27.             <td> <asp:TextBox ID="txt_notes" TextMode="MultiLine" runat="server"></asp:TextBox></td>
  28.         </tr>
  29.         <tr><td>Image:</td>
  30.             </tr>
  31.         <tr><td>Enabled:</td>
  32.             <td><asp:CheckBox ID="chk_Enabled" runat="server" />
  33.             </td>
  34.         </tr><tr>
  35.         <td>
  36.         <input type="button" value="Next" onclick="javascript: expandtab('maintab', 1)" id="Button1"  />
  37.            </td>
  38.         </tr>
  39.         </table></div>
  40. <div id="tcontent2" class="tabcontent">
  41.  <table width="100%" align="center" style="border:#b0bec7 1px solid;">
  42.            <tr>
  43.             <td colspan="2" align="center" style="border-bottom:#b0bec7 1px solid;"><b>OWNER DETAILS</b>
  44.             </td>        
  45.         </tr>
  46.             <tr>
  47.             <td>Owner Name:
  48.             </td>
  49.             <td>
  50.                 <asp:TextBox ID="txt_CompanyName" runat="server"></asp:TextBox>
  51.             </td>
  52.          </tr>
  53.         <tr>
  54.             <td>Address Line1:
  55.             </td>
  56.             <td>
  57.                 <asp:TextBox ID="txt_Addressline1" runat="server"></asp:TextBox>
  58.             </td>
  59.  
  60.         </tr>
  61.         <tr><td>tel no</td></tr>  <td>
  62.             <asp:TextBox ID="txt_Phone" runat="server"></asp:TextBox></td>
  63.         </tr>
  64.          <tr>
  65.         <td>Additional Notes:</td>
  66.         <td>
  67.             <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" ></asp:TextBox></td>
  68.         </tr>
  69.         <tr>
  70.         <td>Enabled:</td>
  71.         <td>
  72.             <asp:CheckBox ID="CheckBox1" runat="server" /></td>
  73.         </tr>
  74.         <tr>
  75.         <td>
  76.         </td>
  77.         <td>
  78.             <input type="button" value="Next" onclick="javascript: expandtab('maintab', 2)"  /></td>
  79.         </tr>
  80. </table></div>
  81.                              <!-- 3.Review Tab-->
  82. <div id="tcontent3" class="tabcontent">
  83. <br />
  84.     <asp:Panel ID="Panel2" runat="server" CssClass="collapsePanelHeader" Height="30px"> 
  85.             <div style="padding:5px; cursor: pointer; vertical-align: middle;">
  86.                 <div style="float: left;">1. Vehicle Details</div>
  87.                 <div style="float: left; margin-left: 20px;">
  88.                     <asp:Label ID="Label1" runat="server">(Show Details...)</asp:Label>
  89.                 </div>
  90.                 <div style="float: right; vertical-align: middle;">
  91.                     <asp:ImageButton ID="Image1" runat="server" ImageUrl="~/images/expand_blue.jpg" AlternateText="(Show Details...)"/>
  92.                 </div>
  93.             </div>
  94.         </asp:Panel>
  95.          <asp:Panel ID="Panel1" runat="server" CssClass="collapsePanel" Height="0">
  96.             <br />
  97.            <table width="100%" align="center" style="border:#b0bec7 1px solid;">
  98.           <tr>
  99.         <td>
  100.             VehicleRegistration.
  101.           </td>
  102.           <td>
  103.             <asp:Label ID="lblReg" runat="server"  Text= "" ></asp:Label></td>
  104.             </tr>
  105.         <tr><td>Make:</td>
  106.             <td>
  107.                 <asp:Label ID="makelabel" runat="server" Text=""></asp:Label>
  108.             </td>
  109.         </tr>
  110.         <tr><td>Model:</td>
  111.              <td><asp:Label ID="modellabel" runat="server" Text=""></asp:Label>
  112.                 </td>
  113.         </tr>
  114.          <tr><td>Additional notes:</td>
  115.             <td> <asp:Label ID="noteslabel" runat="server" Text=""></asp:Label></td>
  116.         </tr>
  117.         <tr><td>Image:</td>
  118.             <td>
  119.                 <asp:Image ID="Image2" runat="server" />Image display</td>
  120.         </tr>
  121.         <tr ><td>Enabled:</td>
  122.             <td><asp:Label ID="yesornolabel" runat="server" Text=""></asp:Label>
  123.             </td>
  124.         </tr>
  125.        <tr>
  126.         <td colspan="2" align="right">
  127.        <input type="button" value="Edit" onclick="javascript: expandtab('maintab',0)"  />
  128.         </td>
  129.         </tr>
  130.         </table>        
  131.         </asp:Panel>
I want to activate three tabs when page load in browser using backend code, I have tried a lot but not able to do it. Kindly help me to solve this problem...(By the third tab i need to get the details from database..)

thanks
May 30 '07 #3
SammyB
807 Expert 512MB
Does anyone have a sample tab panel that is working that they can paste below (or e-mail to me)? I'm making a mistake somewhere and cannot figure out where. If I had a sample tab panel that is already working correctly I can work from there.

Thanks in advance.
Do you mean a TabControl? What problem are you having? What language? C#, VB, J#
May 30 '07 #4
srelu
3
C#...
i am new to c# ..i want know how to write c# programing in tab container..

is there anyway in samples in c# programing using tabcontainer..in asp.net

thanks
May 30 '07 #5
RedSon
5,000 Expert 4TB
C#...
i am new to c# ..i want know how to write c# programing in tab container..

is there anyway in samples in c# programing using tabcontainer..in asp.net

thanks
Did you try searching MSDN? Did you read the first 3 posts in this forum about good resources to try out? Did you search this site with some keywords? Have you seen this article?

http://msdn2.microsoft.com/en-us/library/ms752041.aspx
May 30 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: PZ | last post by:
OSS 2005 The First International Conference on Open Source Systems Genova, July 11 - 15, 2005 CALL FOR PANELS http://oss2005.case.unibz.it Submissions of panels are solicited for the "First...
0
by: PZ | last post by:
OSS 2005 The First International Conference on Open Source Systems Genova, July 11 - 15, 2005 CALL FOR PANELS http://oss2005.case.unibz.it Submissions of panels are solicited for the "First...
1
by: pfnus | last post by:
Hi, I want to display different forms when the buttons are clicked and all the forms are having different controls on it. So instead of adding new windows forms to the project, i enlarged the...
1
by: VMI | last post by:
Im using a separate thread in my code to copy a huge file, but I get the "Controls created on one thread cannot be parented to a control on a different thread" when I want to update the Form...
1
by: Demetri | last post by:
I'm trying to determine if we want to use panels or user controls for our pages. Our primary concern is performance, page loading and posting speed. To illustrate my question, lets use the...
0
by: Matt | last post by:
I'm attempting to load a form, query a database, and update a progress bar on the same form. I want the form to load and activate/enable the form's cancel button while the code continues to...
1
by: Ben | last post by:
Hi We have a number of Panels on our windows form, we have controls inside and outside of the panels. I am having problems tabbing between controls, it appers to be when the controls are...
8
by: =?Utf-8?B?cmFuZHkxMjAw?= | last post by:
I have an application with several BackgroundWorker threads. I hoped I'd be able to just type backgroundworker1.Name = "bw1"; but I don't see a name property. Any thoughts on how to name a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.