Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, i want in an customcontrol (codebehind)set a hyperlink to a content page (use umbraco 7) . How did i exactly find out the correct syntax to handle this ?I started with the following code. and second how did i find the contentid ?
Imports umbraco.Web.UI.Controls.UmbracoControlImports umbraco.Web.UI.Controls.UmbracoUserControl
Dim umbracoHelper = New umbraco.Web.UmbracoHelper(umbraco.Web.UmbracoContext.Current)
Dim Page As umbraco.content = umbracoHelper.Content(1234) '
HyperLink1.NavigateUrl= ???????????????????????????????????
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
umbracoHelper and get url of content
Hi, i want in an customcontrol (codebehind)
set a hyperlink to a content page (use umbraco 7) . How did i exactly find out the correct syntax to handle this ?
I started with the following code. and second how did i find the contentid ?
Imports umbraco.Web.UI.Controls.UmbracoControl
Imports umbraco.Web.UI.Controls.UmbracoUserControl
Dim umbracoHelper = New umbraco.Web.UmbracoHelper(umbraco.Web.UmbracoContext.Current)
Dim Page As umbraco.content = umbracoHelper.Content(1234) '
HyperLink1.NavigateUrl= ???????????????????????????????????
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.