I am trying to get a textarea value from code behind using the following code.
HtmlTextArea bodytextarea = new HtmlTextArea();
bodytextarea = (HtmlTextArea)(this.FindControl("codearea"));
string txtbod = bodytextarea.Value;
When i debug it i get a null reference exception saying that bodytextarea is null. I have to mention that my textarea is not runat="server" and i do not want to make it on server side. Any help?