GeneralLink in Sitecore

前端 未结 6 848
囚心锁ツ
囚心锁ツ 2020-12-03 12:26

I\'m new to Sitecore.. I have created a Page template and add a field for a URL of type General Link. I have created another field for the text for the link (this is standar

6条回答
  •  清歌不尽
    2020-12-03 12:43

    It'd be easier if you use the Link control:

    
        
    
    

    That way, you don't have to do any code-behind stuff and you'll be able to use the Page Editor as well.

提交回复
热议问题