Spread for ASP.NET 9.0 Product Documentation
Controls Property
Example 


Gets the controls.
Syntax
'Declaration
 
Public Overrides ReadOnly Property Controls As ControlCollection
'Usage
 
Dim instance As FpSpread
Dim value As ControlCollection
 
value = instance.Controls
public override ControlCollection Controls {get;}

Property Value

ControlCollection containing the controls
Example
This example returns the identifier of the control.This example returns the identifier of the control.
Button btn = new Button(); 
btn.ID = "MyButton"; 
FpSpread1.Controls.Add(btn); 

string msg = FpSpread1.Controls.Item(0).ID.ToString(); 
Response.Write("alert('" + msg + "')"); 
Dim btn As New Button
btn.ID = "MyButton"
FpSpread1.Controls.Add(btn)

Dim msg As String = FpSpread1.Controls.Item(0).ID.ToString()
Response.Write("alert('" & msg & "')")
Button btn = new Button(); 
btn.ID = "MyButton"; 
FpSpread1.Controls.Add(btn); 

string msg = FpSpread1.Controls.Item(0).ID.ToString(); 
Response.Write("alert('" + msg + "')"); 
Dim btn As New Button
btn.ID = "MyButton"
FpSpread1.Controls.Add(btn)

Dim msg As String = FpSpread1.Controls.Item(0).ID.ToString()
Response.Write("alert('" & msg & "')")
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

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.