Quantcast
Channel: CodeProject Latest postings for ASP.NET
Viewing all articles
Browse latest Browse all 3938

TextArea value in C#

$
0
0
Hi,
 
I have an HTML element defined as :
 
<textareaid="txtOrdersNotResult"runat="server"rows="5"cols="15"visible="false"></textarea>
 
when certain condition hold true, it triggers the textarea to be visible. Then it should set a value in this area, like
 
txtOrdersNotResult.Value = "this is a test"
 
I have also tried,
txtOrdersNotResult.InnerText = doesnotexist.ToString();
 
this area is empty.
 
any ideas?

Viewing all articles
Browse latest Browse all 3938

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>