Welcome Guest Search | Active Topics | Sign In | Register

Multipage forgets SelectedIndex after postback when smartNavigation is active VS2003 / .net 1.1 Options
uwe
Posted: Friday, January 22, 2010 4:14:01 AM
Rank: Member
Groups: Member

Joined: 12/16/2007
Posts: 20
Dear Support,
we use VS2003 / Microsoft Visual Basic on .NET Framework 1.1.
EO 2008
On an ASPX page an eo.multipage control 'forgets' its SelectedIndex after a Postback.
This behaviour seems to be related to the page smartNavigation="True" setting.

Can you suggest me a solution how multipage remembers SelectedIndex while Smartnavigation is true.

Many thanks, Uwe




<%@ Register TagPrefix="eo" Namespace="EO.Web" Assembly="EO.Web" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ooa_todolist_x.aspx.vb" Inherits="CPWeb1.ooa_todolist_x" smartNavigation="True"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>ooa_todolist_x</title>
<meta name=GENERATOR content="Microsoft Visual Studio .NET 7.1">
<meta name=CODE_LANGUAGE content="Visual Basic .NET 7.1">
<meta name=vs_defaultClientScript content=JavaScript>
<meta name=vs_targetSchema content=http://schemas.microsoft.com/intellisense/ie5>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id=Form1 method=post runat="server"><asp:button style="Z-INDEX: 104; POSITION: absolute; TOP: 2px; LEFT: 70px" id=Button2 runat="server" Font-Size="XX-Small" Font-Names="Arial" Text="<" Width="53px" Height="19px"></asp:button><asp:button style="Z-INDEX: 103; POSITION: absolute; TOP: 3px; LEFT: 147px" id=Button3 runat="server" Font-Size="XX-Small" Font-Names="Arial" Text=">" Width="53px" Height="19px"></asp:button><eo:multipage
style="Z-INDEX: 101; POSITION: absolute; TOP: 25px; LEFT: 45px" id=MultiPage2 runat="server" Width="225px" Height="180px">
<eo:PageView id=PageView1 runat="server" Width="100%" Height="55px" BackColor="#FFFFC0"></eo:PageView>
<eo:PageView id=PageView2 runat="server" Width="100%" Height="55px" BackColor="#C0FFC0"></eo:PageView>
<eo:PageView id=PageView3 runat="server" Width="100%" Height="55px" BackColor="#FFE0C0"></eo:PageView></eo:multipage><asp:listbox style="Z-INDEX: 102; POSITION: absolute; TOP: 22px; LEFT: 286px" id=ListBox2 runat="server" Width="128px" Height="58px" AutoPostBack="True">
<asp:ListItem Value="a">a</asp:ListItem>
<asp:ListItem Value="b">b</asp:ListItem>
<asp:ListItem Value="c">c</asp:ListItem>
</asp:listbox>
<P>&nbsp;</P>
<P>&nbsp;</P>
<DIV style="Z-INDEX: 105; POSITION: absolute; TOP: 211px; LEFT: 45px"
ms_positioning="text2D">Postback through click in list causes Mulitpage to
'forget' slectedIndex.<BR>After Postback through click on button the selected
Indes is preserved.</DIV>
<asp:Button style="Z-INDEX: 106; POSITION: absolute; TOP: 164px; LEFT: 301px" id=Button1 runat="server" Text="Button" Width="89px"></asp:Button></FORM>

</body>
</HTML>





eo_support
Posted: Monday, January 25, 2010 9:47:27 AM
Rank: Administration
Groups: Administration

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

We have confirmed this to be a problem but have not been able to find a reliable workaround. You may want to consider disable SmartNavigation because it does cause a lot of problem. Microsoft disabled and stopped supporting this feature in ASP.NET 2.0 exactly for the same reason.

Thanks!


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.