Click here to Skip to main content
15,913,090 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I am going through an example on ASP.Net vs2010. In the example the person has placed a table in .master page. Now he has added two contentPlaceHolder on this table on two of its cells. Now in my application when I try to drag a ContentPlaceHolder on to the table from toolbox, it does not place itself on the cell.How do I handle this problem. I would be grateful if someone can guide me as to how should I place a contentPlaceHolder on the table cell.Thanks & Regards.

What I have tried:

1. Placing code for contentPlaceHolder in the HTML also doesn't show a contentPlaceHolder visible on the cell in design portion.

2.Tried searching on google does not help.
Posted
Updated 26-May-17 0:00am

1 solution

Do yourself a favour and forget the "design" tool. Just construct the html\controls yourself in the text edit section. That way you guarantee the mark-up is exactly what you want.
 
Share this answer
 
Comments
Arvind61 26-May-17 6:16am    
Thanks for the reply. Could you please explain with a few lines of code.
F-ES Sitecore 26-May-17 6:19am    
<table><tr><td><asp:ContentPlaceholder ID="asp:ContentPlaceholder1" runat="server"/></td></tr></table>
Arvind61 26-May-17 6:25am    
I've tried this. Still the ContentPlaceHolder does not show up in the design view.
F-ES Sitecore 26-May-17 6:38am    
Seriously, ignore the design view. I have been doing asp.net since asp.net came out and never once have I ever used design view.
Arvind61 26-May-17 15:40pm    
Thanks for the advise.I'll try that

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900