Spread for ASP.NET 10 Product Documentation
EnableOnClient Property
Example 


Gets or sets whether to enable the calendar on the client side.
Syntax
'Declaration
 
Public Property EnableOnClient As Boolean
'Usage
 
Dim instance As DateCalendarCellType
Dim value As Boolean
 
instance.EnableOnClient = value
 
value = instance.EnableOnClient
public bool EnableOnClient {get; set;}

Property Value

Boolean: true to enable client-side operation; false otherwise
Example
This example creates a cell with a calendar editor.
FarPoint.Web.Spread.Extender.DateCalendarCellType dc = new FarPoint.Web.Spread.Extender.DateCalendarCellType();
dc.Animated = true;
dc.DateFormat = "MM/dd/yyyy";
dc.EnableOnClient = true;
AjaxControlToolkit.MaskedEditExtender mee = new AjaxControlToolkit.MaskedEditExtender();
mee.Mask = "99/99/9999";
mee.MaskType = AjaxControlToolkit.MaskedEditType.Date;
dc.Extenders.Add(mee);
dc.ShowEditor = true;
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = dc;
Dim dc As New FarPoint.Web.Spread.Extender.DateCalendarCellType
dc.Animated = True
dc.DateFormat = "MM/dd/yyyy"
dc.EnableOnClient = True
Dim mee As New AjaxControlToolkit.MaskedEditExtender
mee.Mask = "99/99/9999"
mee.MaskType = AjaxControlToolkit.MaskedEditType.Date
dc.Extenders.Add(mee)
dc.ShowEditor = True
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = dc
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

DateCalendarCellType Class
DateCalendarCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.