FarPoint.Web.Spread.Model.GroupDataModel gm;
if ((FpSpread1.ActiveSheetView.DataModel) is FarPoint.Web.Spread.Model.GroupDataModel) {
gm = FpSpread1.ActiveSheetView.DataModel;
gm.SetTag(0, 0, FpSpread1.ActiveSheetView.Cells(0, 0).Text.ToString());
string msg = gm.GetTag(0, 0);
Response.Write("alert('" + msg + "')");
}
Dim gm As FarPoint.Web.Spread.Model.GroupDataModel
If TypeOf (FpSpread1.ActiveSheetView.DataModel) Is FarPoint.Web.Spread.Model.GroupDataModel Then
gm = FpSpread1.ActiveSheetView.DataModel
gm.SetTag(0, 0, FpSpread1.ActiveSheetView.Cells(0, 0).Text.ToString())
Dim msg As String = gm.GetTag(0, 0)
Response.Write("alert('" & msg & "')")
End If