473,785 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can we use Ajax RoundedCornersE xtender control with AJax,tabContain er?

6 New Member
Hi,
Can we use Ajax RoundedCornersE xtender control with AJax,tabContain er?
Dec 24 '09 #1
3 5644
Frinavale
9,735 Recognized Expert Moderator Expert
I have no idea what you are asking.
The Ajax RoundedCornersE xtender attaches to a Panel. It does not attach to a TabContainer.

-Frinny
Dec 24 '09 #2
usha535140
6 New Member
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 Recognized Expert Moderator Expert
Again, the RoundedCornersE xtender 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 RoundedCornersE xtender 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
5012
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 corners get rounded but about 10px down from the top there is a white space about 20px heigh and the entire width. After that space my panel continues. It seems that the break is at the bottom of the radius. <td style="width: 25%; padding-right:...
3
2442
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: <cc1:TabContainer ID="TabContainer1" runat="server">
0
1168
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 action) and force the TabContainer to stay on the same current TabPanel? Thank you very much.
0
1189
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 selected would cause the page to reload and display the 5th final tabpanel of the tabcontainer? Thanks -- Paul G Software engineer.
1
5234
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 & ModalPopup Extender. While running the application, When I click the TAB1's Button i get a modalpopup in the page. But when i select the TAB2 and click on the Button. Im not getting any modalpopup in the 2nd tab rather i see the modal popup in...
1
3405
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 UserControl's URL stored in Database while Page load. There is a TabContainer control below the Menu Control. Now i want to add corresponding UserControl dynamically when user clicks on
2
4507
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. Basically the FormView cannot find the TextBoxes inside the tab container's tab panels. Some of the forums say that it's because of the TabContainer's implementation (by design) of "INamingContainer", and a hack is to take control of the TabContainer's...
7
6672
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 tabcontainer which has 1 panel already, however I want to try create the TabPanels dynamically. I followed the advice here: http://www.asp.net/learn/ajax-videos/video-156.aspx (3rd comment - Joe Stagner)
1
2139
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 running into problems where the two accordian entries are not functioning correctly. If I don't use a table and just place some sample text within the accordian body then this works okay but once I add the table, the second accordion value appears on...
0
9646
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9483
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10346
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9956
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8982
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6742
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5386
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.