Created
October 27, 2017 09:35
-
-
Save ps-team/ea83940532aa7aa7e2a1b2897b26c72e to your computer and use it in GitHub Desktop.
How to get the alt text of an Image node using the WebApi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@using Contensis.Framework.Web | |
@{ | |
NodeFactory nf = new NodeFactory(); | |
ContentNode n = (ContentNode)nf.LoadById(####); | |
<img src="@n.Path" alt="@n.MenuName" /> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment