Ciao a tutti.
Sto facendo un modulo asp per generare un offerta.
Purtroppo devo fare un procedimento step to step, allora ho pensato di utilizzare il componente WIZARD.

Utilizzo una masterpage (per grafica e menu) e ho avuto problemi con la creazione dinamica del dettaglio degli articoli. Praticamente in uno step del wizard ho un tasto "aggiungi articolo" e compare una riga con una dropdown del codice articolo, e delle text per qtà, prezzo, sconto, totale.
Perciò ogni volta che faccio click su aggiungi articolo compare dinamicamente la riga.

Il problema è che se passo allo step successivo o precedente e poi ritorno allo step degli articoli, non vedo più la riga degli articoli creata dinamicamente.

potete darmi una mano, è da 3 giorni che sto impazzendo!!

Secondo voi mi sto complicando la vita utilizzando questo maledetto wizard??

Avete dei condigli da darmi?

Grazie

CODICE PAGINA

codice:
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <link type="text/css" href="../../css/ui-lightness/jquery-ui-1.8.19.custom.css" rel="stylesheet" />
    <script type="text/javascript" src="../../js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="../../js/jquery-ui-1.8.19.custom.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#MainContent_Wizard1_data").datepicker();
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:HiddenField ID="se_utente" runat="server" />
    <asp:HiddenField ID="se_tipo" runat="server" />
    <asp:HiddenField ID="n_articoli" runat="server" /> 
    <h2>
        Nuova Offerta</h2>
    <span class="failureNotification">
        <asp:Literal ID="FailureText" runat="server"></asp:Literal>
    </span>

    <span class="failureNotification">
            <asp:Literal ID="Literal1" runat="server"></asp:Literal>
        </span>
    <br />
    <br />
    <div class="accountInfo" id="ins_azienda" runat="server">
        <table id="TABLE1">
            <tr>
                <td bgcolor="#eff3fb">
                    <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="0" Width="669px" BackColor="#EFF3FB" ClientIDMode="Static"
                        BorderColor="#B5C7DE" BorderWidth="1px" Font-Names="Verdana" OnActiveStepChanged="GetFavoriteNumerOnActiveStepIndex"
                        CellPadding="5">
                        <SideBarTemplate>
                            <asp:DataList ID="SideBarList" runat="server">
                                <ItemTemplate>
                                    <asp:LinkButton ID="SideBarButton" runat="server" BackColor="#507CD1" 
                                        Font-Names="Verdana" ForeColor="White"></asp:LinkButton>
                                </ItemTemplate>
                                <SelectedItemStyle Font-Bold="True" />
                            </asp:DataList>
                        </SideBarTemplate>
                        <StartNavigationTemplate>
                            <asp:Button ID="StartNextButton" runat="server" BackColor="White" 
                                BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" 
                                CommandName="MoveNext" Font-Names="Verdana" Font-Size="0.8em" 
                                ForeColor="#284E98" Text="Avanti" />
                        </StartNavigationTemplate>
                        <StepNavigationTemplate>
                            <asp:Button ID="StepPreviousButton" runat="server" BackColor="White" 
                                BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" 
                                CausesValidation="False" CommandName="MovePrevious" Font-Names="Verdana" 
                                Font-Size="0.8em" ForeColor="#284E98" Text="Precedente" />
                            <asp:Button ID="StepNextButton" runat="server" BackColor="White" 
                                BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" 
                                CommandName="MoveNext" Font-Names="Verdana" Font-Size="0.8em" 
                                ForeColor="#284E98" Text="Avanti" />
                        </StepNavigationTemplate>
                        <WizardSteps>
                            <asp:WizardStep ID="WizardStep1" runat="server" Title="Cliente">
                                <table style="width: 507px">
                                    <tr>
                                        <td>
                                            Cliente:
                                        </td>
                                        <td colspan="3">
                                            <asp:DropDownList ID="cliente" runat="server" DataSourceID="SqlDataSource1" DataTextField="CompanyName"
                                                DataValueField="CustSupp" Width="199px" AppendDataBoundItems="true">
                                                <asp:ListItem Value="0">Seleziona...</asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dbConnectionString %>">
                                            </asp:SqlDataSource>
                                            <br />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Data
                                        </td>
                                        <td>
                                            <asp:TextBox ID="data" runat="server" Width="100px"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="data"
                                                ValidationExpression="(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d"
                                                Display="Dynamic" SetFocusOnError="true" ErrorMessage="Data non valida"></asp:RegularExpressionValidator>
                                        </td>
                                        <td>
                                            Luogo
                                        </td>
                                        <td>
                                            <asp:TextBox ID="luogo" runat="server" Width="200px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Email
                                        </td>
                                        <td colspan="3">
                                            <asp:TextBox ID="Email" runat="server" Width="350px"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="Email"
                                                CssClass="failureNotification" ErrorMessage="" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                ToolTip="Email non corretta">Email non corretta</asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                </table>
                            </asp:WizardStep>
                            <asp:WizardStep ID="WizardStep2" runat="server" Title="Articoli">
                                
                                
                                <div id="blocco2" runat="server"></div>
                              
                                
                                





                            </asp:WizardStep>
                            <asp:WizardStep ID="WizardStep3" runat="server" Title="Termine Consegna">
                                Termine di consegna:
                                <asp:TextBox ID="consegna" runat="server" Width="200px"></asp:TextBox>
                            </asp:WizardStep>
                            <asp:WizardStep ID="WizardStep4" runat="server" Title="Modalit&agrave; Pagamento">
                                Modalit&agrave; di Pagamento:
                                <asp:DropDownList ID="mod_pag" runat="server" DataSourceID="SqlDataSource2" DataTextField="tipo_pag"
                                                DataValueField="id" Width="199px" AppendDataBoundItems="true">
                                                <asp:ListItem Value="0">Seleziona...</asp:ListItem>
                                            </asp:DropDownList>
                                            <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:dbConnectionString %>">
                                            </asp:SqlDataSource>



                            </asp:WizardStep>
                            <asp:WizardStep ID="WizardStep5" runat="server" Title="Note">
                                Note Interne:<br />
                                <asp:TextBox ID="note_int" runat="server" Width="400px" TextMode="MultiLine" Height="300px"></asp:TextBox>
                                <br />
                                <br />
                                Note Esterne:<br />
                                <asp:TextBox ID="note_est" runat="server" Width="400px" TextMode="MultiLine" Height="300px"></asp:TextBox>
                                
                            </asp:WizardStep>
                            <asp:WizardStep ID="Complete" runat="server" Title="Invia Offerta">
                                <br />
                                Thank you for completing this survey.<br />
                            </asp:WizardStep>
                        </WizardSteps>

                        <FinishNavigationTemplate>
                            <asp:Button ID="FinishPreviousButton" runat="server" BackColor="White" 
                                BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" 
                                CausesValidation="False" CommandName="MovePrevious" Font-Names="Verdana" 
                                Font-Size="0.8em" ForeColor="#284E98" Text="Precedente" />
                            <asp:Button ID="FinishButton" runat="server" BackColor="White" 
                                BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" 
                                CommandName="MoveComplete" Font-Names="Verdana" Font-Size="0.8em" 
                                ForeColor="#284E98" Text="Fine" />
                        </FinishNavigationTemplate>

                        <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" BorderWidth="2px"
                            Font-Bold="True" Font-Size="0.9em" ForeColor="White" HorizontalAlign="Center" />

                        <SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top" Width="150px" />
                        <SideBarButtonStyle BackColor="#507CD1" Font-Names="Verdana" ForeColor="White" />
                        <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                            BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
                    </asp:Wizard>
                </td>
            </tr>
            <tr>
                <td bgcolor="#eff3fb">
                    <asp:Label ID="Label1" runat="server"></asp:Label><br />
                    <br />
                    <asp:Label ID="Label2" runat="server"></asp:Label><br />
                    <br />
                    <asp:Label ID="Label3" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>



GRAZIE
CIAO