Hi guys...
i want to get value of an html control in c#..say textarea in c# textbox
i tried doin it as textbox1.text = Request.Form["TextArea1"].tostring()
This is not working..."object instance not created..."
Hi guys...
i want to get value of an html control in c#..say textarea in c# textbox
i tried doin it as textbox1.text = Request.Form["TextArea1"].tostring()
This is not working..."object instance not created..."
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vipul KelkarPosted Mar 7, 2009, 4:13 AM
Mirko MeierPosted Mar 7, 2009, 2:21 AM
Example:
Click me.
If you click the link you can access the link by his ID.
Vipul KelkarPosted Mar 6, 2009, 11:52 PM
Thanks neha...
I have a html menu on the page and when user clicks on the link i want to get value of the clicked link
<div>
<span>Electronicsspan> <a href="products.aspx" id="1">Tva> <a href="http://tools.dynamicdrive.com/favicon/">Washing Machinea> div>when the user clicks on TV...i want the value "TV" and redirect to product.aspx ...not getting it by Request.Form["1"].tostring()
lovely nehaPosted Mar 6, 2009, 11:24 PM
hi use this
TextBox1.Text = TextArea.InnerHtml;