ASPX templates
Version 5.x > ASPX templates > Editable Region used to specify URL portion only of an anchor link View modes: 
User avatar
Member
Member
david-pt - 1/29/2010 3:59:01 PM
   
Editable Region used to specify URL portion only of an anchor link
I'l trying to embed a user changeable link within a somewhat complex set of div tags surrounded by an an anchor. However, if I just try to use an editable region inside of the anchor tag, the CMSDesk no longer displays properly.

Here is an example of my code:

<a href="<cc1:CMSEditableRegion ID="Button1_link" runat="server" RegionType="TextBox" RegionTitle="" />"><clickable stuff here></a>

Is there another way to achieve this?

User avatar
Member
Member
kentico_pavelk - 2/5/2010 2:15:15 AM
   
RE:Editable Region used to specify URL portion only of an anchor link
Hi David,

I would recommend you using just editable region in which you can enter the whole link.


Best regards,
Pavel Knotek