473,549 Members | 2,639 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#17 23688). 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.getEle mentById('ctl00 _ContentPlaceHo lder1_TabContro l').get_tabs()
[1].set_enabled(tr ue);
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_Cont entPlaceHolder1 _TabControl_Tab Panel1").Enable d
= 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 6927
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%>').g et_tabs()[1].set_enabled(tr ue);
-- bruce (sqlwork.com)

ruffeo wrote:
I made the changes in the ajax tool kit project (http://forums.asp.net/
p/1074319/1723688.aspx#17 23688). 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.getEle mentById('ctl00 _ContentPlaceHo lder1_TabContro l').get_tabs()
[1].set_enabled(tr ue);
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_Cont entPlaceHolder1 _TabControl_Tab Panel1").Enable d
= 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
1709
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 control on the server side, and send the html string back to javascript. A possible problem is the control post back behavior and control view state...
1
1394
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
1235
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
1584
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 asp:Image tag and a couple of Next/Previous LinkButtons -- and everything's working just fine, but of course, since we're not doing full-page refreshes,...
8
1694
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. 3. Or are there others out there. 4. Should i not do AJAX at all because it still posts back the entire page even though only the section is...
2
1156
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
5777
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 Manager" control and have the same functionality. 2. Why when I try to drag for example "ConfirmButtonExtender" to the Designer it's refuses to...
7
1887
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 Ajax?
0
2907
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 has three rows with a slider control in each row created dynamically. The problems what I have are 1) handler image does not get displayed, I have...
4
6844
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 I had Run The setup ! add the control Tool KIT In My Tool box yet I cantnot use them! it gives me the Following Errror!
0
7462
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...
0
7730
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. ...
0
7975
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...
1
7492
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7823
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...
1
5381
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5101
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...
0
3491
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1957
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.