CodeVerge.Net Beta


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




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls Tags:
Item Type: NewsGroup Date Entered: 4/17/2003 1:28:02 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 5 Views: 36 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
DrEaMON
Asp.Net User
Microsoft TabStrip control problem4/17/2003 1:28:02 AM

0

I'm trying to use the TabStrip control in a UserControl (the page that holds the UserControl has 3 other UserControls also). I have set the TabStrip control's AutoPostBack to true and everything seems ok. However, when I click one of the tabs, nothing happens and I get a JavaScript error. The error: "__TabStrip1_State__" is undefined". I have done a View Source in the browser, and the hidden field named "__TabStrip1_State__" is there. So really, I don't understand why the heck it won't work.

I have a feeling it has something to do with the fact that I use it inside a UserControl. I tried doing this in a empty aspx page, and I did not get this error.

Does anyone have experience with this and maybe know how to handle it?

Thanks!
I haven't failed, I've found 10,000 ways that don't work
brianbolger
Asp.Net User
Re: Microsoft TabStrip control problem8/15/2003 1:41:32 PM

0

Hi,

did you ever get this to work, I'm having the same problem.

Thanks, B.
jimmym
Asp.Net User
Re: Microsoft TabStrip control problem8/15/2003 4:02:26 PM

0

You may need to show some code of how do you set up this TabStrip.
This posting is provided "AS IS" with no warranties, and confers no rights.
DrEaMON
Asp.Net User
Re: Microsoft TabStrip control problem8/18/2003 9:43:00 PM

0

I gave it up actually. But I think that there is (or was maybe) a postback problem with it. I tried in inside a usercontrol only and that didn't work. I'm sure it's not a problem if you use it in a plain aspx page.
I haven't failed, I've found 10,000 ways that don't work
ESBertrand
Asp.Net User
Re: Microsoft TabStrip control problem4/26/2004 2:30:45 PM

0

I was getting this as well and was able to fix it by wrapping a FORM tag around the TabStrip and MultiPage controls. The FORM tag must include the "runat=server" tag property.

These '__[controlname]_State__" controls are ViewState-related, so in order for .NET to create these controls and reference them on PostBack, they must be included inside the form tag. My code that works (no errors when switching between tabs) is below.

One note: an ASPX must not have more than one form tag with a "runat=server" specified, for obvious reasons. You can have other form tags nested (say, within the MultiPage controls); but they cannot have "runat=server" specified. They shouldn't really need them anyway, at least in most cases.

Hope this helps.

Erik


<HTML>
<HEAD>
<title>My Company Web Site</title>
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="/style.css" type=text/css rel=stylesheet >
</HEAD>
<body leftMargin=0 topMargin=0 rightMargin=0>
<form id="f1" method="post" runat="server">
<P><br><ie:tabstrip id=tsGroupAdmin style="FONT-WEIGHT: bold" TabDefaultStyle="border:solid 1px black;background:#dddddd;padding-left:5px;padding-right:5px;" TabHoverStyle="color:red" TabSelectedStyle="border:solid 1px black;border-bottom:none;background:white;padding-left:5px;padding-right:5px;" SepDefaultStyle="border-bottom:solid 1px #000000;" TargetID="mpGroupAdmin" runat="server" EnableViewState="true" AutoPostBack="true">
<ie:Tab Text="My Plan Information"></ie:Tab>
<ie:TabSeparator></ie:TabSeparator>
<ie:Tab Text="Sublocations"></ie:Tab>
<ie:TabSeparator></ie:TabSeparator>
<ie:Tab Text="Forms/Reports"></ie:Tab>
<ie:TabSeparator></ie:TabSeparator>
<ie:Tab Text="Manage Enrollment"></ie:Tab>
<ie:TabSeparator DefaultStyle="width:100%;"></ie:TabSeparator>
</ie:TabStrip><ie:multipage id=mpGroupAdmin style="BORDER-RIGHT: #000000 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: medium none; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: #000000 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #000000 1px solid" runat="server" Height="100%" Width="100%" EnableViewState="true">
<ie:PageView>
<asp:Xml id=xmlMyPlanInfo runat="server"></asp:Xml></ie:PageView>
<ie:PageView>
<asp:Xml id=xmlSublocations runat="server"></asp:Xml></ie:PageView>
<ie:PageView>
<asp:Xml id=xmlFormsReports runat="server"></asp:Xml></ie:PageView>
<ie:PageView>
<asp:Xml id=xmlManageEnrollment runat="server"></asp:Xml></ie:PageView>
</ie:multipage></P>
<P>&nbsp;</P>
</form>

</body>
</HTML>

hotrodtodd
Asp.Net User
Re: Microsoft TabStrip control problem5/17/2004 3:46:38 PM

0

I managed to wrap the TabStrip control in a UserControl that resides in an aspx page along with other UserControls (which were used as pseudo panels). I implemented an event that fires when the selected index of the TabStrip control is changed. There is also a property of SelectedIndex within the UserControl that relays the TabStrip's selected index. The event is registered in the aspx page and executes a page-level method when fired that retrieves the User Control's SelectedIndex property and sets visibility of the other user controls based on that index. This way, since we can only have one Form tag that is designated runat=server, you can include multiple controls without worry and still maintain modularity to a degree. All works well, however, I am experiencing problems using IE's browser navigation buttons (back and forward). I have this page sitting in a framed page on the right side as the left side contains banners and external links. Have not been able to resolve this problem yet so if you have any advice, please post!

Thanks,
HRT
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Alison Balter's Mastering Microsoft Access 2000 Development Authors: Alison Balter, Pages: 1342, Published: 1999
Mastering Microsoft VBA Authors: Guy Hart-Davis, Pages: 707, Published: 2005
F. Scott Barker's Microsoft Access 2000 power programming Authors: F. Scott Barker, Pages: 1334, Published: 1999
Visual Basic 6 from the Ground Up Authors: Gary Cornell, Pages: 932, Published: 1998
Mastering VBA for Microsoft Office 2007 Authors: Richard Mansfield, Pages: 888, Published: 2008

Web:
Microsoft TabStrip control problem - ASP.NET Forums I'm trying to use the TabStrip control in a UserControl (the page that holds the UserControl has 3 other UserControls also). ...
Problem with a tabstrip control - ASP.NET - Forums at ... Problem with a tabstrip control: I am trying to create a tabstring control with the ... Did you add the reference to the Microsoft.Web.UI. ...
Microsoft Tab strip control I am using the Microsoft tab strip control (with multi page) in my ASP .NET ... The problem is that I cant invoke that function using script ...
IE - problem with Tab Strip control rendered by aspx page? - bytes control instead: ...
problem using Microsoft.Web.UI.Webcontrols Tabstrip - ASP.NET ... i have a problem i want to inherit the tabstrip control and derive my own control to ... but the inherited control gives me
Microsoft TabStrip control problem - ng.asp-net-forum ... Microsoft TabStrip control problem, > ROOT > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls, Date: 4/17/2003 ...
Client-side caching of HTC files - ng.asp-net-forum ... Microsoft TabStrip control problem - ng.asp-net-forum ... client-side caching of htc files ยท tabstrip generates get /null 404 requests in ...
Starting with web controls FILE NOT DFOUND - ng.asp-net-forum ... Microsoft TabStrip control problem - ng.asp-net-forum ... client-side ... CodeVerge.Net Programming Forums NET Chris Pels shows how to add client script ...

Videos:
User Interface And New Tab Creation Behavior Of Microsoft ... This video shows that Internet Explorer 8 takes an annoyingly long time to create a blank new tab - from the time the new tab button is pressed ...
fix internet explorer 7 error Have downloaded the Microsoft Update KB942615 for Internet Explorer 7 and discovered that when it is loaded it does not allow any viewing of the ...
Another IE7 bug ? This one was brought to my attention by another utuber... The problem is that the menu bar vanishes when the system can no longer create any new ...
Xbox 360- Opening Your Xbox 360 A tutorial on how to open your Xbox 360. At the part where I say "Refer to the video description" for locations of the tabs, here are the links to ...
Developing JavaScript with Chickenfoot Google TechTalks July 25, 2006 Rob Miller Michael Bolin ABSTRACT Chickenfoot is a Firefox extension that embeds a JavaScript programming ...






toolbar control does not show up !!

problem eith ie web controls

recursive tree

how to install ie web controls in asp.net2.0

ie treeview dislpay problems - only on some computers

how can i build the project of ie web control with vs.net?

is treeview control really reliable?

problems getting the parent node

problem with xml generated before use with treeview web control

page.findcontrol("mytab");

use the internet explorer web controls

help using css file with a ie toolbar web control

how to check it child node when clicked parent node

tab strip control in asp

treeview filled, but shows up empty

tabstrip and multipage web control not working

cannot view ie web controls

i need the microsoft.web.ui.webcontrols.dll

tabstrip not displaying on server

working with events and selectednodeindex in treeview

treeview 2 sql tabels and xslt

version 1.0.2.226

node duplication in treeview

treeview fails accessibility guidelines

dynamic treeview

problems with webcontrols

webcontrols: toolbar & tabstrip

is the treeview reliable?

how to use the treeview control to change the url of the targeted frame

scan a folder

   
  Privacy | Contact Us
All Times Are GMT