473,324 Members | 2,541 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,324 software developers and data experts.

Can we use Ajax RoundedCornersExtender control with AJax,tabContainer?

Hi,
Can we use Ajax RoundedCornersExtender control with AJax,tabContainer?
Dec 24 '09 #1
3 5617
Frinavale
9,735 Expert Mod 8TB
I have no idea what you are asking.
The Ajax RoundedCornersExtender attaches to a Panel. It does not attach to a TabContainer.

-Frinny
Dec 24 '09 #2
oh,ok.I want to show all the panels in the tabcontainer with rounded corners,is it possible
Dec 24 '09 #3
Frinavale
9,735 Expert Mod 8TB
Again, the RoundedCornersExtender attaches to a Panel. Therefore you should place the content that you want in the rounded corners within a Panel control and then attach a RoundedCornersExtender to that Panel.

So, you'll have your tab control:
Expand|Select|Wrap|Line Numbers
  1. <ajaxToolkit:TabContainer runat="server"  OnClientActiveTabChanged="ClientFunction"  Height="150px">
  2.     <ajaxToolkit:TabPanel runat="server"  HeaderText="Tab 1">
  3.         <ContentTemplate>
  4.             Content for tab 1
  5.         </ContentTemplate>
  6.     <ajaxToolkit:TabPanel />
  7.     <ajaxToolkit:TabPanel runat="server"  HeaderText="Tab 2">
  8.         <ContentTemplate>
  9.             Content for tab 2
  10.         </ContentTemplate>
  11.     <ajaxToolkit:TabPanel />
  12. </ajaxToolkit:TabContainer>
  13.  
Place the "Content for tab 1" into a panel and use the rounded corners extender on it:
Expand|Select|Wrap|Line Numbers
  1. <ajaxToolkit:TabContainer runat="server"  OnClientActiveTabChanged="ClientFunction"  Height="150px">
  2.     <ajaxToolkit:TabPanel runat="server"  HeaderText="Tab 1">
  3.         <ContentTemplate>
  4.             <asp:Panel id="RoundeCornersContent1" runat="server">Content for tab 1</asp:Panel>
  5.           <ajaxToolkit:RoundedCornersExtender ID="RndCrnsE_Tab1" runat="server" TargetControlID="RoundeCornersContent1"
  6.         Color="#104E8B" Radius="3" />
  7.         </ContentTemplate>
  8.     <ajaxToolkit:TabPanel />
  9.     <ajaxToolkit:TabPanel runat="server"  HeaderText="Tab 2">
  10.         <ContentTemplate>
  11.            <asp:Panel id="RoundeCornersContent2" runat="server">Content for tab 2</asp:Panel>
  12.           <ajaxToolkit:RoundedCornersExtender ID="RndCrnsE_Tab2" runat="server" TargetControlID="RoundeCornersContent2"
  13.         Color="#104E8B" Radius="3" />
  14.         </ContentTemplate>
  15.     <ajaxToolkit:TabPanel />
  16. </ajaxToolkit:TabContainer>
  17.  
-Frinny
Jan 4 '10 #4

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

Similar topics

1
by: Joe | last post by:
When viewing the page in Firefox, the top of the panel is separated. For example I have a Panel in a cell with it's width=100%. I use the ajax control to round the top corners of the panel, The...
3
by: ma | last post by:
Hello, I installed the latest version of AJAX toolkit today and start playing with it. I can not add any AJAX control to my page. When I try to add it, it is added as follow: ...
0
by: tutus | last post by:
Hi, related to Asp.net Ajax Control Toolkit: In a TabContainer with two tabPanels, when I click on the second TabPanel, how can I cancel the TabPanel change event (or the TabPanel change...
0
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I have an ajax control with 5 tabPanels. The first 4 panels all have a ..net web control button. Just wondering what code I would need to have the event for all of the 4 buttons that when...
1
by: mistryman06 | last post by:
Hi, I'm new to the ASP.NET Ajax. Im struck with an issue. Im having a tabcontainer with 3 tabs. Each tab has a user control (all 3 tab has the same user control) & the user control has a Button &...
1
by: =?Utf-8?B?TW9oc2luIEtoYW4=?= | last post by:
Hi, I am working on a website where i am creating Horizontal Menus Dynamically from database as per rights available to the user. I have several UserControls. And the Menu control also brings...
2
by: =?Utf-8?B?Q29sb3JzdG9uZQ==?= | last post by:
Hi, I have a TabContainer inside a data bound FormView (to logically group the form fields into different tabs). The display part of the data binding works fine, but the Update doesn't. ...
7
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
1
by: E11esar | last post by:
Hi there. I have created an asp.net page with C# and have added two tabs using the respective AJAX control. I am trying to add a table within an AJAX Accordion control in the second tab but I am...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.