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
Hazel Mahmud
1.1k
315
71.1k
using stringbuilder to build ContentPlaceHolder
Feb 4 2018 11:45 PM
hello.. i'm using stringbuilder to create contentPlaceholder in nestedMasterpage but i get this error. -->
Cannot find ContentPlaceHolder 'MainContent' in the master page '/Masterpage/leftMenuMaster.Master', verify content control's ContentPlaceHolderID attribute in the content page.
how do i fix this?..My codes are as below :
stringBuilder.Append("</td>");
stringBuilder.AppendFormat("<td>fsdfsfsdfs</td>");
stringBuilder.AppendFormat("<td style=width: 99%; background-color:white; vertical-align:top><asp:ContentPlaceHolder ID=MainContent runat=server><p> MainContent</p></asp:ContentPlaceHolder></td>");
stringBuilder.Append("</tr>");
stringBuilder.Append("</table>");
stringBuilder.Append("</div>");
TQ.
Reply
Answers (
4
)
Asp.net Session Variable from SQL DB
i want to develop an app that should work on VS IDE ?