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> </P> <P> </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>
|
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!
|