定CSS語法:
.FixHeaderSyle
{
background-position: top;
background-repeat: repeat-x;
background-color: #d1dbe0;
position:relative ;
top:expression(this.offsetParent.scrollTop -1);
z-index: 10;
}
.PnlGrid
{
position: relative;
z-index: 1;
top: 0px;
}
ASP.NET 中, GridView要放在 Panel中
Panel ScrollBars="Both" CSS的Style="pnlGrid"
GridView的HeaderSytle設定:"FixHeaderStyle "
不過,scroll時, 表頭那一塊沒法貼齊panel,留下一點空隙
訂閱:
張貼留言 (Atom)
pdf.js 無法顯示部份字
有個檔案在pdf viewer套件中無法顯示內容,但下載檔案後使用工具又可以正常顯示。 本來以為是套件版本太舊的原因,於是去下載pdf viewer套件 https://github.com/mozilla/pdf.js 更新後還是一樣。 覺得應是字型缺漏的問題,於是用PDF-X...
-
上網找了免費的白箱檢測工具,找到了 puma scan 因為支援OWASP TOP 10的檢測,所以這是一個符合客戶需求又能與Visual studio結合的工具(白話說...交差了事矣....) 更重要的是這不用錢....檢測工具都貴森森的,尤其是源碼檢測工具。 ht...
-
建了一個工作排程,定時執行batch檔。 batch中寫了一段xcopy,主要針對有異動較新檔案時才複製。 echo off for /f "delims=" %%a in ('wmic OS Get localdatetime ^| find...
-
.net 執行SQL指令時,出現以下錯誤。 已經開啟一個與這個 Command 相關的 DataReader,必須先將它關閉。 在web.config connectionstring 加入 "MultipleActiveResultSets=True...
沒有留言:
張貼留言