CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls Tags:
Item Type: NewsGroup Date Entered: 8/25/2003 9:12:42 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 24 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
Aris
Asp.Net User
How to disable Tabstrip "Tab" on code behine8/25/2003 9:12:42 AM

0/0

Hi All,

I success to load Tabstrip control within Code behine. How to enable/disable the tabs once the button even fired?

My code here

***** testing.vb *****

IMPORTS MICROSOFT.WEB.UI.WEBCONTROLS

PUBLIC CLASS TESTING : INHERITS PAGE

PROTECTED WITHEVENTS TAB1 AS MULTIPAGE

' *** ON CLICK DISABLE BUTTON
SUB FNDISABLE (S AS OBJECT, E AS EVENTARGS)
TAB1.ENABLED=FALSE <--- THAT'S WORK WITH WHOLE TABSTRIP
END SUB

***** testing.aspx *****

<%@ Page Language="VB" INHERITS="TESTING" SRC="TESTING.VB" %>
<%@ Register TagPrefix="IE" Namespace="Microsoft.Web.UI.Webcontrols" Assembly="Microsoft.Web.UI.Webcontrols" %>

<SCRIPT RUNAT=SERVER>

</SCRIPT>
<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM RUNAT=SERVER>

<IE:TABSTRIP TARGETID=TAB1 RUNAT=SERVER>
<ie:tab text="General" />
<ie:tabseparator />
<ie:tab text="Account" />
<ie:tabseparator />
<ie:tab text="Group" />
<ie:tabseparator />
</ie:tabstrip>

<IE:MULTIPAGE ID=TAB1 RUNAT=SERVER>
<ie:pageview>
<ASP:BUTTON ID=BTN1 TEXT="Disable" onclick=fndisable runat=server />
</ie:pageview>

<ie:pageview>
Page testng 2
<asp:button id=btn1 text=Try runat=server />

</ie:pageview>
<ie:pageview ID=PAGE3>
Page testng 3
</ie:pageview>
</ie:multipage>
</form>
</body>
</html>


I want to use the loop to disable whole tabs except the current page. Any ideas?
Thanks!


sonne8e
Asp.Net User
Re: How to disable Tabstrip "Tab" on code behine9/16/2003 4:54:00 PM

0/0

How about tab1.Items(1).Enabled = false ??????
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET in VB.NET: From Novice to Professional Authors: Matthew MacDonald, Pages: 983, Published: 2004
RadControls for ASP.NET: A Step By Step Learning Guide Authors: unknown, Pages: 0, Published: -1

Web:
How to disable Tabstrip "Tab" on code behine - ASP.NET Forums Hi All, I success to load Tabstrip control within Code behine. How to enable/ disable the tabs once the button even fired? My code here ...
Dynamically change number of tabs on tabstrip - ASP.NET Forums I've already tried the ".visible=false" approach, my code-behind looks .... // Disable all the tabs, remove the text, remove the width style. ...
tabstrip/multipage disable tabs dynamically and I'm not sure how to do this. ... hide an entire tab dynamically from the code behind if the status of the ...
how to disable mouseover effect to avoid tab blinking when ... TabStrip){ tab.Select()} This helps me in getting the second level menu when i hover over the top tabs. My worry is because of this code ...
obout inc - ASP.NET EasyMenu - Horizontal Menu Example - TabStrip Add/Remove Tabs 2 New ... Horizontal menu and TabStrip New ... Code-Behind VB. NET em.AddItem(new MenuItem("em11", "IBM", , "ibm.aspx")) em. ...
Collection properties in ASP.Net Server Controls (Building a ... Here the code calls two generated functions which activate the tab ... Net Server Controls (Building a TabStrip Control) by dietrich June 16, 2004 @ 7:01 am ...
CodeProject: A simple ASP.NET Web TabStrip User Control. Free ... Basically, server side code will now know which tab is clicked through the event .... You may consider this line of code to access TabStrip User Control: ...
Client API Developing Web Controls The purpose of this chapter is to discuss the code behind the sample. ..... Lets say you have a tabstrip with two tabs,. each tab has a DropDownList on it ...
Inside Microsoft: Web Service Discovery We will provide 5 Tabs separated by TabSeparators, via the following code:. < webc:TabStrip id="myTabstrip" orientation="Horizontal" runat="server" ...
ComponentArt Forums - Show Post The reasoning behind this is that since you are programmatically selecting the tab, you can handle your other code which would be in the ...




Search This Site:










right click on the web treeview node

asp.net 1.1

very large treeview

getting treeview nodedata on node click with java/vbscript ???

error creating control

cannot get the web controls to work on shared server

why are the webcontrols no longer supported?

access object in main page from page in iframe? tabstrip/multipage

i need file: "microsoft.web.ui.webcontrols.dll"

treeview performance

tabstrip with multipage (tabstrip.htc print fix)

installing the treeview control

can't reference the ms webcontrols toolbar

multipage nav with tabstrip and next/prev buttons?

microsoft.web.ui.webcontrols.treeview serverside bug

ie web controls

unknown error

how to get the text of the selected treenode without autopostback problem (any answer sooner is appreciated)

tabstrips and iframes. iframe communication

microsoft internet explorer webcontrols with ie 7 vs firefox

treeview refresh/load doesnt work correctly after response.writefile

microsoft.web.ui.webcontrols.dll

making menu items invisible programmatically in treeview?

dll missing

error while add iewebcontrols to toolbox

a gotdotnet workspace based on the ie web controls?

populating treeview from xml file

do i have to have the net 1.1 sdk to use ie web controls??

tabstrip generates get /null 404 requests in iislog

how to select the treeview node on right click og mouse button

  Privacy | Contact Us
All Times Are GMT