我想对asp.net日历控件中的内容使用overflow。我在努力
e.Cell.Style["height"] = "80px";
e.Cell.Style["overflow"] = "auto";
在asp.net日历控件dayrender事件中。
发布于 2010-07-20 14:55:23
您应该能够以编程方式分配样式属性。即
e.Cell.Attributes.Add("style", "height: 80px; overflow: auto;");
否则,看看该控件生成的CSS类:
.ajax__calendar_container {height: 80px; overflow: auto;}
所有的类都记录在此页面的底部:
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Calendar/Calendar.aspx
祝好运,
马尔科
https://stackoverflow.com/questions/3287549
复制相似问题