10.0.x
541 201 9965 Email Website
Contents
:
Search:

Home > Skinning > Mvc Link Reference

Mvc Link Reference

Modern Url Legacy Url Razor Syntax Token Syntax Controller Action
/account/ account.aspx @Url.Action("Index", "Account") (!Url ActionName='Index' ControllerName='Account' !) Account Index
/account/create createaccount.aspx @Url.Action("Create", "Account") (!Url ActionName='Create' ControllerName='Account' !) Account Create
/account/signin signin.aspx @Url.Action("SignIn", "Account") (!Url ActionName='SignIn' ControllerName='Account' !) Account SignIn
/account/signout signout.aspx @Url.Action("SignOut", "Account") (!Url ActionName='SignOut' ControllerName='Account' !) Account SignOut
/address/ address.aspx @Url.Action("Index", "Address") (!Url ActionName='Index' ControllerName='Address' !) Address Index
/bestsellers/ bestsellers.aspx @Url.Action("Index", "BestSellers") (!Url ActionName='Index' ControllerName='BestSellers' !) BestSellers Index
/contactus/ contactus.aspx @Url.Action("Index", "ContactUs") (!Url ActionName='Index' ControllerName='ContactUs' !) ContactUs Index
/downloads/ downloads.aspx @Url.Action("Index", "Downloads") (!Url ActionName='Index' ControllerName='Downloads' !) Downloads Index
/home/ default.aspx @Url.Action("Index", "Home") (!Url ActionName='Index' ControllerName='Home' !) Home Index
/news/ news.aspx @Url.Action("Index", "News") (!Url ActionName='Index' ControllerName='News' !) News Index
/recentadditions/ recentadditions.aspx @Url.Action("Index", "RecentAdditions") (!Url ActionName='Index' ControllerName='RecentAdditions' !) RecentAdditions Index
/recurringorder/ n/a @Url.Action("Index", "RecurringOrder") (!Url ActionName='Index' ControllerName='RecurringOrder' !) RecurringOrder Index
/requestcatalog/ requestcatalog.aspx @Url.Action("Index", "RequestCatalog") (!Url ActionName='Index' ControllerName='RequestCatalog' !) RequestCatalog Index
/search/ search.aspx @Url.Action("Index", "Search") (!Url ActionName='Index' ControllerName='Search' !) Search Index
/search/advancedsearch searchadv.aspx @Url.Action("AdvancedSearch", "Search") (!Url ActionName='AdvancedSearch' ControllerName='Search' !) Search AdvancedSearch
/shoppingcart/addtocart addtocart.aspx @Url.Action("AddToCart", "ShoppingCart") (!Url ActionName='AddToCart' ControllerName='ShoppingCart' !) ShoppingCart AddToCart
/shoppingcart/bulkaddtocartform tableorder_process.aspx @Url.Action("BulkAddToCartForm", "ShoppingCart") (!Url ActionName='BulkAddToCartForm' ControllerName='ShoppingCart' !) ShoppingCart BulkAddToCartForm
/sitemap/ sitemap.aspx, sitemap2.aspx @Url.Action("Index", "SiteMap") (!Url ActionName='Index' ControllerName='SiteMap' !) SiteMap Index
/sitemapfeed/ googleindex.aspx @Url.Action("Index", "SiteMapFeed") (!Url ActionName='Index' ControllerName='SiteMapFeed' !) SiteMapFeed Index
/topic/{TopicName} t-{TopicName}.aspx @Url.BuildTopicLink("{TopicName}") (!TopicLink Name='{TopicName}' !) Topic Detail
/product/{ProductId}/{SearchEngineName} p-{Productid}-{SearchEngineName}.aspx @Url.BuildProductLink({ProductId},"{SearchEngineName}") (!ProductLink ProductId='{ProductId}' SEName='{SearchEngineName}' !) Product Detail
/category/{EntityID}/{SearchEngineName} c-{EntityId}-{SearchEngineName}.aspx @Url.BuildEntityLink("Category", {EntityId},"{SearchEngineName}") (!CategoryLink CategoryId='{EntityId}' SEName='{SearchEngineName}'!) Entity Detail
/section/{EntityID}/{SearchEngineName} s-{EntityId}-{SearchEngineName}.aspx @Url.BuildEntityLink("Section", {EntityId},"{SearchEngineName}") (!SectionLink SectionId='{EntityId}' SEName='{SearchEngineName}'!) Entity Detail
/manufacturer/{EntityID}/{SearchEngineName} m-{EntityId}-{SearchEngineName}.aspx @Url.BuildEntityLink("Manufacturer", {EntityId},"{SearchEngineName}") (!ManufacturerLink ManufacturerId='{EntityId}' SEName='{SearchEngineName}'!) Entity Detail
/category categories.aspx @Url.Action("Index", "Entity", new { entityType = "category" }) (!Url actionname='index' controllername='entity' entitytype='category' !) Entity Index
/section sections.aspx @Url.Action("Index", "Entity", new { entityType = "section" }) (!Url actionname='index' controllername='entity' entitytype='section' !) Entity Index
/manufacturer manufacturers.aspx @Url.Action("Index", "Entity", new { entityType = "manufacturer" }) (!Url actionname='index' controllername='entity' entitytype='manufacturer' !) Entity Index

Linking to the minicart modal

<a href="#" data-toggle="modal" data-target="#minicart-modal">
    @Html.StringResource("minicart.viewCart")
</a>

Linking to the wishlist modal

<a href="#" data-toggle="modal" data-target="#miniwish-modal">
    @Html.StringResource("miniwish.viewCart")
</a>



Actions
Print This Article
Bookmark
Email This Article
Previous Article
Next Article

Was this page helpful?YesNo