D
Dennis George
Hi!
I have a Problem with the autopostback function at sites using a MultiPage
control.
In HTML-view, if I place the code of the DropDownList above the code for the
MultiPage, everything workes right, but if I place it within the MultiPage
(in an PageView) or behind the MultiPage, the AutoPostback function dows not
work. (Site refresh, but no jump into EventProcedures and the Site forgets
the selected Item).
Dows anybody know the reason, or better.... a solution??
Thanks in advance.
Dennis George
Code sample (I don't wrote the styles):
With this it is ok:
<aspropDownList id="DropDownList1" style="<.....>" runat="server"
width="81px" Height="48px" AutoPostBack="True">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
</aspropDownList>
<iewc:MultiPage id="MultiPage1" style="<......>" Height="522px">
<iewcageView id="Page1"></iewcageView>
<iewcageView id="Page2">2</iewcageView>
<iewcageView id="Page3">3</iewcageView>
<iewcageView id="Page4">4</iewcageView>
</iewc:MultiPage>
And So NOT:
<iewc:MultiPage id="MultiPage1" style="<......>" Height="522px">
<iewcageView id="Page1"></iewcageView>
<iewcageView id="Page2">2</iewcageView>
<iewcageView id="Page3">3</iewcageView>
<iewcageView id="Page4">4</iewcageView>
</iewc:MultiPage>
<aspropDownList id="DropDownList1" style="<.....>" runat="server"
width="81px" Height="48px" AutoPostBack="True">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
</aspropDownList>
And so NOT:
<iewc:MultiPage id="MultiPage1" style="<......>" Height="522px">
<iewcageView id="Page1">
<aspropDownList id="DropDownList1" style="<.....>" runat="server"
width="81px" Height="48px" AutoPostBack="True">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
</aspropDownList></iewcageView>
<iewcageView id="Page2">2</iewcageView>
<iewcageView id="Page3">3</iewcageView>
<iewcageView id="Page4">4</iewcageView>
</iewc:MultiPage>
I have a Problem with the autopostback function at sites using a MultiPage
control.
In HTML-view, if I place the code of the DropDownList above the code for the
MultiPage, everything workes right, but if I place it within the MultiPage
(in an PageView) or behind the MultiPage, the AutoPostback function dows not
work. (Site refresh, but no jump into EventProcedures and the Site forgets
the selected Item).
Dows anybody know the reason, or better.... a solution??
Thanks in advance.
Dennis George
Code sample (I don't wrote the styles):
With this it is ok:
<aspropDownList id="DropDownList1" style="<.....>" runat="server"
width="81px" Height="48px" AutoPostBack="True">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
</aspropDownList>
<iewc:MultiPage id="MultiPage1" style="<......>" Height="522px">
<iewcageView id="Page1"></iewcageView>
<iewcageView id="Page2">2</iewcageView>
<iewcageView id="Page3">3</iewcageView>
<iewcageView id="Page4">4</iewcageView>
</iewc:MultiPage>
And So NOT:
<iewc:MultiPage id="MultiPage1" style="<......>" Height="522px">
<iewcageView id="Page1"></iewcageView>
<iewcageView id="Page2">2</iewcageView>
<iewcageView id="Page3">3</iewcageView>
<iewcageView id="Page4">4</iewcageView>
</iewc:MultiPage>
<aspropDownList id="DropDownList1" style="<.....>" runat="server"
width="81px" Height="48px" AutoPostBack="True">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
</aspropDownList>
And so NOT:
<iewc:MultiPage id="MultiPage1" style="<......>" Height="522px">
<iewcageView id="Page1">
<aspropDownList id="DropDownList1" style="<.....>" runat="server"
width="81px" Height="48px" AutoPostBack="True">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
</aspropDownList></iewcageView>
<iewcageView id="Page2">2</iewcageView>
<iewcageView id="Page3">3</iewcageView>
<iewcageView id="Page4">4</iewcageView>
</iewc:MultiPage>