2013-07-23 17 views
0

我想將背景設置爲hatchstyle,但不知道如何在javascript中訪問System.Drawing.Drawing2D。該表是由javascript創建的。下表的示例。在javascript中顯示hatchstyles

<table style="background:hatchstyle.cross> 
</table> 

在此先感謝

+1

asp.net和javascript是無關的。 – mohkhan

回答

1

您不能訪問ASP.NET成員在Javascript。你必須定義你自己的CSS值爲一個陰影樣式,以便用Javascript來完成。