![]() |
| ||
| request.form is not working in asp.net I want to retrieve data from controls in the requested page to other page by using request.form(control name) but this is not working for me.I tried both response.redirect and also server.transfer for redirect to new page but it is not working for both the commands. |
| ||
| Re: request.form is not working in asp.net Here's an example. Lets say you have page1.aspx with a textbox control. You want a user to click a next button, transfering to page2.aspx and writting the text out on that page. The code for button click on page1.aspx Private Sub btnNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNext.Click The page_load for the page2.aspx: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load -sypher |
| ||
| Re: request.form is not working in asp.net thank you for your reply sypher. ramareddy_dotne |
| ||
| Re: request.form is not working in asp.net I am having the same problem with a slight difference. I hope someone can help. In my aspx page I have the following: <script>A you can see I am building <input> dynamically. Let’s say that the above loops 20 times, each with a different name for the dynamic <input>. How can I transfer these 20 values? I have the following control in the body of the page. <asp:Button id="btnPreCloseSumbit" OnClick="TransferFormValues" Text="Submit " runat="server"/>Which calls Sub TransferFormValues(Source As Object, E As EventArgs)I guess I don’t understand how to transfer the form input that has a dynamic name. Sub Page_Load(Source As Object, E As EventArgs)-nbp |
| ||
| Re: request.form is not working in asp.net it's okay. i just relised that i had been going about this the wrong way. i am able to use the request.form("id") instead of redirect and request. -np. |
| All times are GMT -4. The time now is 6:07 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC