【问题标题】:Add hyperlink style to Telerik Report向 Telerik Report 添加超链接样式
【发布时间】:2012-08-26 20:48:41
【问题描述】:
【问题讨论】:
标签:
asp.net
css
xslt
telerik
telerik-reporting
【解决方案1】:
Below is how I worked around the above issue:
ReportViewer.prototype.OnReportLoadedOld = ReportViewer.OnReportLoaded;
ReportViewer.prototype.OnReportLoaded = function() {
this.OnReportLoadedOld();
var reportFrame = document.getElementById(this.reportFrameID);
var reportDocument = reportFrame.contentWindow.document;
var body = reportDocument.getElementsByTagName("body")[0];
$(".a1", body).css("text-decoration", "underline");
$(".a0", body).css("text-decoration", "underline");
You can achive the hover like this:
$(".a1", body).hover(function() {
$(".a1", body).css("text-decoration", "underline");
}, function () {
$(".a1", body).css("text-decoration", "underline");
});