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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...