Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

asp.net get innerhtml of div

var sb = new StringBuilder();
mainDiv.RenderControl(new HtmlTextWriter(new StringWriter(sb)));

string s = sb.ToString();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #innerhtml #div
ADD COMMENT
Topic
Name
4+2 =