473,498 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AJAX Tool Kit Tab Control

I made the changes in the ajax tool kit project (http://forums.asp.net/
p/1074319/1723688.aspx#1723688). Some how Visual Studio knows to pull
the newly complied dll because the tabs are showing up disabled
instead of hidden. My problem is I am trying to manipulate the tabs
through javascript on the client side. I am getting java error on this
statement:

document.getElementById('ctl00_ContentPlaceHolder1 _TabControl').get_tabs()
[1].set_enabled(true);
It is says "Object doesn't support property or method".

I also have tried to change the enable property through this line of
code:

document.all("__tab_ctl00_ContentPlaceHolder1_TabC ontrol_TabPanel1").Enabled
= true;

This doesn't cause an error, but it doesn't change the tab to enable.
I think the the style sheet is not changing for the tab panel. When I
check the value after this statement it is indeed true.

Can someone help me out with this.

May 24 '07 #1
1 6922
you are trying to call tab component methods off the tabs html content
element, rather than the tabs actual javascript object component

try:

// enable second tab
$find('<%=myTab.ClientID%>').get_tabs()[1].set_enabled(true);
-- bruce (sqlwork.com)

ruffeo wrote:
I made the changes in the ajax tool kit project (http://forums.asp.net/
p/1074319/1723688.aspx#1723688). Some how Visual Studio knows to pull
the newly complied dll because the tabs are showing up disabled
instead of hidden. My problem is I am trying to manipulate the tabs
through javascript on the client side. I am getting java error on this
statement:

document.getElementById('ctl00_ContentPlaceHolder1 _TabControl').get_tabs()
[1].set_enabled(true);
It is says "Object doesn't support property or method".

I also have tried to change the enable property through this line of
code:

document.all("__tab_ctl00_ContentPlaceHolder1_TabC ontrol_TabPanel1").Enabled
= true;

This doesn't cause an error, but it doesn't change the tab to enable.
I think the the style sheet is not changing for the tab panel. When I
check the value after this statement it is indeed true.

Can someone help me out with this.
May 25 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
1700
by: Sharon | last post by:
Hi all, I was wondering if anyone had experience using ajax with asp.net controls. What i'm looking for, are ways to implement and possible problems. A way to implement could be rendering the...
1
1386
by: =?Utf-8?B?U3R1?= | last post by:
Hi I have a visual studio 2005 project How do I use the Ajax control tool kit without having to creat a brand new project ? TIA Stu
2
1229
by: =?Utf-8?B?U3R1?= | last post by:
Hi I have a visual studio 2005 project How do I use the Ajax control tool kit without having to creat a brand new project ? TIA Stu
5
1580
by: =?Utf-8?B?Q2hyaXN0aWFuIE51bmNpYXRv?= | last post by:
Hi there: I'm using ASP.NET AJAX and liking it, but I've run into an issue I'm not sure how to address. I'm building a very simple image browser I'm sure you've all seen before -- one...
8
1689
by: =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?= | last post by:
I'm about to finally make the jump and start a new site using AJAX. THe question i have for all of you AJAX developers out there is which one? 1. The Standard AJAX frame work 2. The Tool kit....
2
1151
by: nitinver83 | last post by:
hello members From Where can We Get Hover Menu control or microsoft ajax control tool kit what is procedure to install it I already downloaded it and not getting how to use it plz help Nitin
8
5774
by: =?Utf-8?B?QXNhZg==?= | last post by:
Hi, 1. Do I need to install "AjaxControlExtender.vsi" and to use "AJAX Control Toolkit Web Site" template when I create a new web site or I can just use "ASP.NET Web Site" and to add "Script...
7
1881
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
We are looking at Ajaxing our existing web application. Question is...Should we Ajax any and everything we can, or not? One example...if a page posts back to itself, is that a good candidate for...
0
2902
by: sanrek | last post by:
Hi Folks, Slider control is driving me nuts, below is the code from my test page's page load event, nothing great about code, I have a place holder control into which I am adding a table which...
4
6839
Vkas
by: Vkas | last post by:
HI I am Working on Visual studio 2005! i want to Use Ajax Control tool kit in my Website How to Use them! I HAve download AJAX Control Toolkit 3.5! and A asetup OF Ajax Extension tool V1.0 ...
0
7125
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
7002
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
7165
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,...
1
6887
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
7379
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...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4590
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...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
291
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...

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.