css - How to get div tag(runat="server") value in asp.net codebehind as a innerhtml format? -
i declared div tag following:
<div id="txt" runat="server" clientidmode="static"> </div>
i using txt textbox. have whatever entered "txt" in codebehind innerhtml format. tried following code shows innerhtml tag only. doesnt shows value.
objplemailtemplate.emailtemplatebody = txt.innertext;
please me
objplemailtemplate.emailtemplatebody = txt.innerhtml;
Comments
Post a Comment