TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Soft Corner
542
2.3k
809.8k
How to Get InnerHTML of Div
Dec 11 2013 12:38 AM
Hi,
I have to get an InnerHTML of Div which contains user controls. I am trying to get directly but its not working
Error: cannot get inner content of MainPanel because the contents are not literal
Dim litHtml As New Literal
litHtml.Text = MainPanel.InnerHtml
<div id="MainPanel" runat="server" enableviewstate="true">
<table width="100%">
<tr>
<td>
<uc1:ucStatistics ID="ucStatistics1" runat="server" />
</td>
</tr>
</table>
</div>
Reply
Answers (
1
)
Asp.net quiz
How to Use Trree view in asp .net