你好,按照您的方法,执行的时候报了一个异常,估计是我版本的问题,
AjaxControlToolkit的版本:4.1.50731.0
FarPoint.Web.Spread.Extender的版本:5.0.3523.2008
代码和异常信息如下:
Private Sub PageInit()
Dim dc As New FarPoint.Web.Spread.Extender.DateCalendarCellType()
'dc.Animated = True
'dc.DateFormat = "yyyy/MM/dd"
'dc.EnableOnClient = True
'dc.ShowEditor = True
'dc.OnClientDateSelectionChanged = "datechange"
With fpSpread1
'.Cells(0, enSpdCol.ShomiKgn).CellType = dc
End With
其他我都注释掉了、只写了 Dim dc As New FarPoint.Web.Spread.Extender.DateCalendarCellType()一句就报异常了 |