Spread for ASP.NET 9.0 Product Documentation
EditorClientScriptUrl Property (ComboBoxCellType)
Example 


Gets the URL of the client script file for the editor, if the editor supports client-side scripting.
Syntax
'Declaration
 
Public Overrides ReadOnly Property EditorClientScriptUrl As String
'Usage
 
Dim instance As ComboBoxCellType
Dim value As String
 
value = instance.EditorClientScriptUrl
public override string EditorClientScriptUrl {get;}

Property Value

String containing the URL of the client script
Remarks
This property is available at run time only.
Example
This example creates a ComboBoxCellType object and makes all the cells in the first column combo boxes. It returns the EditorClientScriptUrl to a text box.
string[]cbstr;
string[]strval;
cbstr=new String[]{"One","Two","Three"};
strval=new String[]{"1","2","3"};
FarPoint.Web.Spread.ComboBoxCellType cb=new FarPoint.Web.Spread.ComboBoxCellType();
cb.Items=cbstr;
FpSpread1.ActiveSheetView.Columns[0].CellType=cb;
FpSpread1.ActiveSheetView.DataModel.SetValue(0,0,1);
TextBox1.Text=cb.EditorClientScriptUrl;
Dim cbstr As String()
cbstr=New String(){"One","Two","Three"}
Dim strval As String()
strval=New String(){"1","2","3"}
Dim cb As New FarPoint.Web.Spread.ComboBoxCellType()
cb.Items=cbstr
FpSpread1.ActiveSheetView.Columns(0).CellType=cb
FpSpread1.ActiveSheetView.DataModel.SetValue(0,0,1)
TextBox1.Text=cb.EditorClientScriptUrl
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

ComboBoxCellType Class
ComboBoxCellType Members
RendererClientScriptUrl Property

 

 


Copyright © GrapeCity, inc. All rights reserved.