| | |
i want to send labelbox value with redirect page
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2005
Posts: 483
Reputation:
Solved Threads: 19
hopefully, this will get you going in the right direction.
ASP.NET Syntax (Toggle Plain Text)
var tb = document.getElementById('TEXTBOXID'); var tbVal = ''; if(tb !=null) tbVal = tb.value; window.location.href="fdfgd.com?tbVal="+tbVal;
Last edited by campkev; May 7th, 2007 at 4:08 pm.
Why do you even redirect using javascript?
Use code behind to redirect it.
In click event of the button:
Use code behind to redirect it.
In click event of the button:
ASP.NET Syntax (Toggle Plain Text)
Response.Redirect("~/MyPage.aspx?MyQuery=" & Me.MyTextBox.Text.Trim)
Last edited by ManicCW; May 9th, 2007 at 3:15 am.
•
•
Join Date: Jul 2005
Posts: 483
Reputation:
Solved Threads: 19
•
•
•
•
Why do you even redirect using javascript?![]()
Use code behind to redirect it.
In click event of the button:
ASP.NET Syntax (Toggle Plain Text)
Response.Redirect("~/MyPage.aspx?MyQuery=" & Me.MyTextBox.Text.Trim)
•
•
•
•
Because it saves you a roundtrip and a server call, and is faster and more efficient.
![]() |
Similar Threads
- How to redirect a page in JSP (JSP)
- i want to send labelbox value with redirect page (VB.NET)
- Internet Explorer 1 hour page refresh (IT Professionals' Lounge)
- Golive need help on page redirect (Graphics and Multimedia)
- php mail form - need to redirect to new page (PHP)
Other Threads in the ASP.NET Forum
- Previous Thread: Asp.net-Database Insert problem
- Next Thread: How to Include framework with st up project
| Thread Tools | Search this Thread |
.net 2.0 3.5 ajax appliances application asp asp.net beginner box browser businesslogiclayer button c# c#gridviewcolumn cac checkbox child class compatible confirmationcodegeneration content contenttype control countryselector courier css database datagrid datagridview datalist deadlock deployment development dgv dialog dropdownmenu dynamic dynamically edit embeddingactivexcontrol feedback fileuploader fill findcontrol flash flv form forms grid gridview gudi homeedition hosting iis image javascript jquery list menu mssql multistepregistration nameisnotdeclared novell objects opera order problem ratings redirect registration relationaldatabases rotatepage search security select serializesmo.table sessionvariables silverlight smoobjects sql ssl tracking treeview typeof validatedate validation vb.net virtualdirectory vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment wizard xml xsl





