Example of Hyperlink in ASP.NET MVC Spreadsheet Control

Spreadsheet
Hyperlink

This sample demonstrates the Hyperlink feature with the shopping cart scenario as an example. To add hyperlink, click the link button in the insert tab or click hyperlink option using the cell context menu.

ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAY
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Shopping Cart
Product IDProductNamecategoryQuantityPriceTotal
AG940ZCoffee MakerKitchen$43.00$399.00$17,157.00
BJ120KApple PencilElectronics$7.00$200.00$1,400.00
BC120MJuicerKitchen$12.00$100.00$1,200.00
BS121LToasterKitchen$69.00$183.00$12,627.00
BU121KTea KettleKitchen$83.00$169.00$14,027.00
BD121MLogitech MouseElectronics$16.00$250.00$4,000.00
AT992XSkilletKitchen$20.00$149.00$2,980.00
AP992ZHamilton BlenderAppliances$68.00$109.00$7,412.00
AW920XPlate setKitchen$59.00$168.00$9,912.00
Total Amount$70,715.00
Quantity
  • This feature allows you to add reference as cell address or any web url to a cell and also navigate to a reference by clicking or tapping. You can enable or disable hyperlink by using the allowHyperlink property.
  • In this sample, we have applied hyperlink to the cells using the hyperlink property in cell. We can also add hyperlink using the addHyperlink method. In shopping cart scenario, we have added cell reference as hyperlink in the product id column. In the stock sheet, we have added web url as hyperlink in the place order column.

More information about the Hyperlink can be found in this documentationopens in a new tab section.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab