values of textbox in a repeater disappears on clicking next button of asp:wizard

jeanmaries571

New Member
I am having problem with asp:wizard. I have a textbox within a repeater in step1 of asp:wizard. The user enters values in the textbox. Based on this value data has to be populated in another repeater in step2 of wizard. But on clicking the next button, I dont get the next repeater populated depending on the textbox value of the first repeater.This is the code of my wizard:\[code\] <asp:Wizard ID="PurchaseCardWizard" runat="server" DisplaySideBar="False"> <WizardSteps> <asp:WizardStep ID="PurchaseCardWizardStep1" runat="server" Title=""> <div id="FlashBanner"> <iframe src="http://stackoverflow.com/questions/11628004/banner.html" scrolling="no" frameborder="0" width="987" height="270" allowtransparency="true"></iframe> </div> <div class="clear"></div> <div id="MainContent"> <div class="leftmain"> <h1><span>visa</span> prepaid cards</h1> <asp:Repeater ID="rptrCardTypes" runat="server"> <ItemTemplate> <div class="visa_box"> <div class="visabox-1"> <asp:Image ID="cardImage" runat="server" Width="179" Height="114" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "cardPicture") %>' /> <%--<img src="http://stackoverflow.com/questions/11628004/images/visa-1.jpg" width="179" height="114" />--%> <%--<img src='http://stackoverflow.com/questions/11628004/images/<%# DataBinder.Eval(Container.DataItem,"cardPicture") %>' width="179" height="114" />--%> </div> <div class="visabox-2"> <asp:Label ID="testId" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "cardName") %>'></asp:Label> <%--<h2><%# DataBinder.Eval(Container.DataItem, "cardName") %></h2>--%> <p>You can use this card to pay anytime any place worldwide where Visa is accepted. You can buy online tickets, make online hotel reservations, shop and pay your bills online and also withdraw cash from any visa ATM</p> <div class="visabox-input"> <asp:TextBox ID="txtRequiredQuantity1" runat="server" class="num_visa" Text="" ></asp:TextBox> <p>Please enter the required quantity</p> </div> </div> </div> </ItemTemplate> </asp:Repeater> <div class="button_visa"> <div class="butt"> <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="images/button.jpg" Height="22" Width="63" OnClick="ImageButton1_Click" /> </div> </div> </div> <div class="right_cont"> <div class="right_hedd"><img src="http://stackoverflow.com/questions/11628004/images/right_hedd.jpg" width="292" height="25" /></div> <div class="right_forum"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="right_form"> <tr> <td colspan="2">Please enter the required information</td> </tr> <tr> <td width="27%">Name:</td> <td width="73%"> <asp:TextBox ID="txtName" runat="server" class="forum_visa"></asp:TextBox> <asp:RequiredFieldValidator ID="rfvalidatorName" runat="server" ErrorMessage="Please enter your name" Display="Dynamic" ControlToValidate="txtName" style="font:normal 12px/16px arial;" ValidationGroup="vglogin"> </asp:RequiredFieldValidator> </td> </tr> <tr> <td>Civil Id:</td> <td> <asp:TextBox ID="txtCivilID" runat="server" class="forum_visa"></asp:TextBox> <asp:RequiredFieldValidator ID="rfvalidatorCivilID" runat="server" ErrorMessage="Please enter your Civil ID" Display="Dynamic" ControlToValidate="txtCivilID" ValidationGroup="vglogin"></asp:RequiredFieldValidator> <%--<input name="Please enter the required quantity2" type="text" class="forum_visa" />--%></td> </tr> <tr> <td>Email:</td> <td> <asp:TextBox ID="txtEmail" runat="server" class="forum_visa"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please enter your email" Display="Dynamic" ControlToValidate="txtEmail" ValidationGroup="vglogin"></asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="revalidatorEmail" runat="server" ErrorMessage="Please enter a valid email" ControlToValidate="txtEmail" Display="Dynamic" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="vglogin"></asp:RegularExpressionValidator> <%--<input name="Please enter the required quantity3" type="text" class="forum_visa" />--%></td> </tr> <tr> <td>Amount:</td> <td> <asp:TextBox ID="txtAmount" runat="server" class="forum_visa"></asp:TextBox> <%--<input name="Please enter the required quantity4" type="text" class="forum_visa" />--%></td> </tr> <tr> <td>Card No.:</td> <td> <asp:TextBox ID="txtCardNo" runat="server" class="forum_visa"></asp:TextBox> <%--<input name="Please enter the required quantity5" type="text" class="forum_visa" />--%></td> </tr> <tr> <td>&nbsp;</td> <td width="150"> <cc1:CaptchaControl ID="Captcha1" runat="server" CaptchaBackgroundNoise="High" CaptchaLength="5" CaptchaHeight="38" CaptchaWidth="150" CaptchaMinTimeout="5" CaptchaMaxTimeout="240" FontColor = "#B8B8B8" Font-Size="Smaller" NoiseColor="#999999" BorderWidth="20px" BackColor="#F9F9F9" Width="150" CaptchaChars="012346789" /> <%--<img src="http://stackoverflow.com/questions/11628004/images/sample_captcha.jpg" width="150" height="38" />--%></td> </tr> <tr> <td>Captcha:</td> <td> <asp:TextBox ID="txtCaptcha" runat="server" CssClass="forum_visa"></asp:TextBox> <asp:Label ID="lblMsg" runat="server" Text=""></asp:Label> <%--<input name="Please enter the required quantity6" type="text" class="forum_visa" />--%></td> </tr> <tr> <td>&nbsp;</td> <td align="center"><a href="http://stackoverflow.com/questions/11628004/#"> <asp:ImageButton ID="imgbtnSubmit" runat="server" src="http://stackoverflow.com/questions/11628004/images/submit.jpg" OnClick="imgbtnSubmit_Click" ValidationGroup="vglogin"/> <%--<img src="http://stackoverflow.com/questions/11628004/images/submit.jpg" width="63" height="22" />--%></a></td> </tr> </table> </div> </div> </asp:WizardStep> <asp:WizardStep ID="PurchaseCardWizardStep2" runat="server" Title=""> <div id="MainContent01"> <div class="checkout"> <h1><span>Cards</span> Details Entry</h1> <h3>Kuwait International Bank [KIB], a bank that operates according to the Islamic Shari
 
Back
Top