【发布时间】:2012-04-09 17:16:39
【问题描述】:
在从 VS2010 创建一个列表视图并将其作为 Web 部件添加到 sharepoint 2010 之后,行具有我不想要但似乎无法更改的交替颜色。我也尝试过为列和行设置条件格式,但它不起作用!
我也尝试将 .ascx 文件中的样式更改为:
<style type="text/css">
.style1
{
width: 159px;
height: 53px;
background-color: White;
text-align:left;
}
</style>
<img alt="" class="style1"
<SharePoint:ListViewByQuery runat="server" ID="ProjectsListView" class ="style1" />
但似乎没有任何效果!有人对此有解决方案吗?谢谢!
【问题讨论】:
标签: visual-studio-2010 sharepoint sharepoint-2010 web-parts