protected void GridWeb1_CellCommand(object sender, Aspose.Cells.GridWeb.CellEventArgs e)
{
// Checking the CellCommand of the hyperlink
if (e.Argument.Equals("Click"))
{
// Accessing the reference of the worksheet that is currently active
GridWorksheet sheet = GridWeb1.WorkSheets[GridWeb1.ActiveSheetIndex];
// Adding value to "C8" cell
sheet.Cells["C8"].PutValue("Cell Command Hyperlink Clicked");
// Resize the column to display message nicely
sheet.Cells.SetColumnWidth(2, 250);
}
}
// ExEnd:HandleCellCommandHyperlinkEvent