salmani Posted September 19, 2003 Posted September 19, 2003 I am working on checkbox. I have my first page as checkbox.aspx. In this page, i have three fields in my checkboxes as nike,addidas and slazenger. But when i pass value to my next page(checkbox-result.aspx) through server.transfer method,nothing get displayed.None of the values are passing from first page to second page. I am very worried. CAn any one help. Regards SAlman ////////////// Checkbox.aspx //////////////////// <script language="vb" runat="server"> Sub Pressme(Sender as Object, E as EventArgs) server.transfer("Checkbox-result.aspx") End sub </script> </HEAD> <body MS_POSITIONING="GridLayout"> <form id="Form1" method="post" runat="server"> <asp:CheckBoxList ID="checking" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px" runat="server"> <asp:ListItem Text="Nike" Value="Nike"></asp:ListItem> <asp:ListItem Text="Addidas" Value="Addidas" Selected="True"></asp:ListItem> <asp:ListItem Text="Slazenger" Value="Slazenger"></asp:ListItem> </asp:CheckBoxList> <asp:Button id="Button1" nclick="Pressme" style="Z-INDEX: 102; LEFT: 16px; POSITION: absolute; TOP: 112px" runat="server" Text="Get Result"></asp:Button> --------------------------------- ///////////checkbox-result.aspx/////////////// <%=Request.form("checking")%> Quote
papa_k Posted September 19, 2003 Posted September 19, 2003 i have a similar problem but as of yet i have not been able to solve it The only method that i have got to work it using the query string method when i open the next page (in your case i think it was check-box-result.aspx) but this doesnt allow for complex / long strings see this note http://www.xtremedotnettalk.com/t76937.html Quote without time nothing ever ends
hrabia Posted September 19, 2003 Posted September 19, 2003 http://aspalliance.com/das/passingdata.aspx Quote A man and a dog have an average of three legs. Beaware of Statistics.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.