如何将contentplaceholder放在表格单元格上。 [英] How to place contentplaceholder on a table cell.

查看:144
本文介绍了如何将contentplaceholder放在表格单元格上。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过ASP.Net vs2010上的一个例子。在该示例中,该人在.master页面中放置了一个表。现在他在这个表上的两个单元格中添加了两个contentPlaceHolder。现在在我的应用程序中,当我尝试将ContentPlaceHolder从工具箱拖到表中时,它不会将自己放在单元格上。如何处理此问题。如果有人能指导我如何在表格单元格上放置contentPlaceHolder,我将不胜感激。谢谢&问候。



我尝试过:



1.放置代码对于HTML中的contentPlaceHolder也没有显示设计部分中单元格上可见的contentPlaceHolder。



2.在谷歌上搜索没有帮助。

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.

推荐答案

帮自己一个忙,忘了设计工具。只需在文本编辑部分自己构建html \controls。这样你就可以保证标记正是你想要的。
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.


这篇关于如何将contentplaceholder放在表格单元格上。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆