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!



Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls Tags:
Item Type: NewsGroup Date Entered: 12/24/2003 7:12:28 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 14 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
Chief
Asp.Net User
__MyMultiPage_State__ undefined12/24/2003 7:12:28 AM

0/0

I am using the IE Tab Control and it is basically working. However it generates the following jscript error when the tab is clicked. "__MyMultiPage_State__ is undefined" and then "__myTabStrip_State__ is undefined" I could turn off the jscript error display but this seems a lame solution. I have check out the page source and these appear to be defined yet not visible to the jscript.

input type="hidden" name="__myTabStrip_State__" value="0"
input type="hidden" name="__MyMultiPage_State__" value="0"

Ideas anyone?

Thanks
ESBertrand
Asp.Net User
Re: __MyMultiPage_State__ undefined4/26/2004 2:29:31 PM

0/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>

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
How Do I Upload skin with Codebehind - ng.asp-net-forum.dotnetnuke ... __mymultipage_state__ undefined · connetct to windows authentication sql server in another box · dynamically loaded user control inside custom server ...
How Do I Upload skin with Codebehind - ng.asp-net-forum.dotnetnuke ... __mymultipage_state__ undefined · connetct to windows authentication sql server in another box · dynamically loaded user control inside custom server ...
How Do I Upload skin with Codebehind - ng.asp-net-forum.dotnetnuke ... __mymultipage_state__ undefined · connetct to windows authentication sql server in another box · dynamically loaded user control inside custom server ...
How Do I Upload skin with Codebehind - ng.asp-net-forum.dotnetnuke ... __mymultipage_state__ undefined · connetct to windows authentication sql server in another box · dynamically loaded user control inside custom server ...
How Do I Upload skin with Codebehind - ng.asp-net-forum.dotnetnuke ... __mymultipage_state__ undefined · connetct to windows authentication sql server in another box · dynamically loaded user control inside custom server ...
How Do I Upload skin with Codebehind - ng.asp-net-forum.dotnetnuke ... __mymultipage_state__ undefined · connetct to windows authentication sql server in another box · dynamically loaded user control inside custom server ...
How Do I Upload skin with Codebehind - ng.asp-net-forum.dotnetnuke ... __mymultipage_state__ undefined · connetct to windows authentication sql server in another box · dynamically loaded user control inside custom server ...
How Do I Upload skin with Codebehind - ng.asp-net-forum.dotnetnuke ... __mymultipage_state__ undefined · connetct to windows authentication sql server in another box · dynamically loaded user control inside custom server ...
How Do I Upload skin with Codebehind - ng.asp-net-forum.dotnetnuke ... __mymultipage_state__ undefined · connetct to windows authentication sql server in another box · dynamically loaded user control inside custom server ...
How Do I Upload skin with Codebehind - ng.asp-net-forum.dotnetnuke ... __mymultipage_state__ undefined · connetct to windows authentication sql server in another box · dynamically loaded user control inside custom server ...




Search This Site:










grid view drop down

problem with for each statement for auto email

cannot create user in asp.net config tool

swap images for an imagemap.

can i limit the number of words in a text box?

change line

parser error message: could not load type 'aspnet.starterkit.portal....'

hi , a problem with global.asax, please help.

how would to code and test url rewriting from within filesystem web project

passing dynamic parameters

handles statement

create an numbered and incremental session id

listbox multi selection to string

what is ajax ?

switch statement error?

error - there is no row at position 0

unix

email not in html format

word - mailmerge

asp.net website administration tool

debug help tools

i have a datalist with small image bound and i have a forumview with big image bound

where to learn to populate a list from a textbox

tutorial for content management system !

isnumeric question

can we upload this kind of excel sheet

setting hidden input value

converting money to varchar

calendar binding problem - 2 questions

thead

  Privacy | Contact Us
All Times Are GMT