Welcome Guest Search | Active Topics | Sign In | Register

tabstrip associated with multipage but multiple does not exist Options
Hub
Posted: Monday, May 2, 2011 5:54:48 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Hi,

I have a tabstrip associated with a multipage which is in an updatepanel. I receive a message indicating that the tabstrip is associated with the multipage. but the multipage does not exist.
After clearing the message, everything works as it should.

Should this be working?

Thanks for your help
H
eo_support
Posted: Monday, May 2, 2011 6:22:37 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

If you are switching multi-page panels from server side, then you do not need to set the TabStrip's MultiPageID at all. If you are switching on the client side, then MultiPageID must be set properly, otherwise it will not function. The TabStrip uses eo_GetObject to search for the MultiPage object. If it can not find one, then you will get that error message.

Thanks!
Hub
Posted: Tuesday, May 3, 2011 8:22:28 AM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Hello,

Thank you for your answer. Yes, the multipage pageviews are switched on the server side with the tabstrip multipage ID setup. I have reproduced this with the code below (I do not know how to properly insert the code here, so I just cut and pasted...):

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test pnl.aspx.vb" Inherits="test_pnl" %>

<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>

<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>

<eo:TabStrip ID="TabStrip_PeoplesDetail" runat="server"
AutoSelectSource="None" ControlSkinID="None"
MultiPageID="MultiPage1" MultiRow="True" RowSpacing="-3"
Width="490px">
<LookItems>
<eo:TabItem Height="21"
HoverStyle-CssText="position: relative; top: 2px; background-image: url(00010002); background-repeat: repeat-x"
ItemID="_TopLevelItem" LeftIcon-HoverUrl="00010006"
LeftIcon-SelectedUrl="00010008" LeftIcon-Url="00010004"
NormalStyle-CssText="background-color:#cccccc;background-image:url(00010001);background-repeat:repeat-x;position:relative;top:2px;"
RightIcon-HoverUrl="00010007" RightIcon-SelectedUrl="00010009"
RightIcon-Url="00010005"
SelectedStyle-CssText="background-image: url(00010003); background-repeat: repeat-x"
Text-Padding-Bottom="2" Text-Padding-Top="1">
<SubGroup ItemSpacing="1"



Style-CssText="background-image:url(00010000);background-position-y:bottom;background-repeat:repeat-x;color:black;cursor:hand;font-family:'Microsoft Sans Serif', Verdana;font-size:8.25pt;">
</SubGroup>
</eo:TabItem>
<eo:TabItem Height="21"
HoverStyle-CssText="position: relative; top: 2px; background-image: url(00010002); background-repeat: repeat-x"
ItemID="_Default" LeftIcon-HoverUrl="00010006" LeftIcon-SelectedUrl="00010008"
LeftIcon-Url="00010004"
NormalStyle-CssText="position: relative; top: 2px; background-image: url(00010001); background-repeat: repeat-x"
RightIcon-HoverUrl="00010007" RightIcon-SelectedUrl="00010009"
RightIcon-Url="00010005"
SelectedStyle-CssText="background-image: url(00010003); background-repeat: repeat-x"
Text-Padding-Bottom="2" Text-Padding-Top="1">
<SubGroup ItemSpacing="1"



Style-CssText="background-image:url(00010000);background-position-y:bottom;background-repeat:repeat-x;color:black;cursor:hand;font-family:'Microsoft Sans Serif', Verdana;font-size:8.25pt;">
</SubGroup>
</eo:TabItem>
</LookItems>
<TopGroup Style-CssText="">
<Items>
<eo:TabItem PageViewID="" Text-Html="Tab1"
Width="120">
</eo:TabItem>
<eo:TabItem PageViewID="" Text-Html="Tab2" Width="153">
</eo:TabItem>
</Items>
</TopGroup>
</eo:TabStrip>
<eo:CallbackPanel ID="CallbackPanel1" runat="server" Height="150px"
Width="200px">
<eo:MultiPage ID="MultiPage1" runat="server"
Height="180px" Width="100%">
<eo:PageView ID="PageView2" runat="server" Width="100%">
Pageview1
</eo:PageView>
<eo:PageView ID="PageView1" runat="server" Width="100%">
Pageview2
</eo:PageView>
</eo:MultiPage>
</eo:CallbackPanel>

</div>
</form>
</body>
</html>
Hub
Posted: Tuesday, May 3, 2011 8:28:23 AM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Hi,

I am sorry, my previous post included code for the same example, but using a callbackPanel instead of updatepanel, which works fine. The code for the example with the updatepanel (which fails) is below. Apologies.

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test pnl.aspx.vb" Inherits="test_pnl" %>

<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>

<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>

<eo:TabStrip ID="TabStrip_PeoplesDetail" runat="server"
AutoSelectSource="None" ControlSkinID="None"
MultiPageID="MultiPage1" MultiRow="True" RowSpacing="-3"
Width="490px">
<LookItems>
<eo:TabItem Height="21"
HoverStyle-CssText="position: relative; top: 2px; background-image: url(00010002); background-repeat: repeat-x"
ItemID="_TopLevelItem" LeftIcon-HoverUrl="00010006"
LeftIcon-SelectedUrl="00010008" LeftIcon-Url="00010004"
NormalStyle-CssText="background-color:#cccccc;background-image:url(00010001);background-repeat:repeat-x;position:relative;top:2px;"
RightIcon-HoverUrl="00010007" RightIcon-SelectedUrl="00010009"
RightIcon-Url="00010005"
SelectedStyle-CssText="background-image: url(00010003); background-repeat: repeat-x"
Text-Padding-Bottom="2" Text-Padding-Top="1">
<SubGroup ItemSpacing="1"



Style-CssText="background-image:url(00010000);background-position-y:bottom;background-repeat:repeat-x;color:black;cursor:hand;font-family:'Microsoft Sans Serif', Verdana;font-size:8.25pt;">
</SubGroup>
</eo:TabItem>
<eo:TabItem Height="21"
HoverStyle-CssText="position: relative; top: 2px; background-image: url(00010002); background-repeat: repeat-x"
ItemID="_Default" LeftIcon-HoverUrl="00010006" LeftIcon-SelectedUrl="00010008"
LeftIcon-Url="00010004"
NormalStyle-CssText="position: relative; top: 2px; background-image: url(00010001); background-repeat: repeat-x"
RightIcon-HoverUrl="00010007" RightIcon-SelectedUrl="00010009"
RightIcon-Url="00010005"
SelectedStyle-CssText="background-image: url(00010003); background-repeat: repeat-x"
Text-Padding-Bottom="2" Text-Padding-Top="1">
<SubGroup ItemSpacing="1"



Style-CssText="background-image:url(00010000);background-position-y:bottom;background-repeat:repeat-x;color:black;cursor:hand;font-family:'Microsoft Sans Serif', Verdana;font-size:8.25pt;">
</SubGroup>
</eo:TabItem>
</LookItems>
<TopGroup Style-CssText="">
<Items>
<eo:TabItem PageViewID="" Text-Html="Tab1"
Width="120">
</eo:TabItem>
<eo:TabItem PageViewID="" Text-Html="Tab2" Width="153">
</eo:TabItem>
</Items>
</TopGroup>
</eo:TabStrip>

</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<eo:MultiPage ID="MultiPage1" runat="server"
Height="180px" Width="100%">
<eo:PageView ID="PageView2" runat="server" Width="100%">
Pageview1
</eo:PageView>
<eo:PageView ID="PageView1" runat="server" Width="100%">
Pageview2
</eo:PageView>
</eo:MultiPage>
</ContentTemplate>
</asp:UpdatePanel>
</form>
</body>
</html>
eo_support
Posted: Tuesday, May 3, 2011 11:47:10 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This appears to be a bug. We will fix it and post a new build as soon as possible. In the mean time, please use CallbackPanel instead.

Thanks!
Hub
Posted: Tuesday, May 3, 2011 1:36:27 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Thanks for looking into this.
Will you let me know when a fix is available?

Much thanks again for your great support

H
eo_support
Posted: Tuesday, May 3, 2011 1:38:39 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We will post again when a new build is available. We do not have a time line for the new build yet but I would expect it to be out next week.

Thanks!
Hub
Posted: Tuesday, May 3, 2011 5:22:20 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Thanks again
Hub
Posted: Wednesday, May 18, 2011 10:24:15 AM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Hi,

Any more details about the availability of a fix for this issue?

Thanks

H
eo_support
Posted: Wednesday, May 18, 2011 10:46:48 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

I believe the current build on our download page already fixed this issue.

Thanks!
Hub
Posted: Wednesday, May 18, 2011 12:07:06 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Certainly does!

Thanks again.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.