hi there, i'm trying to add a hypelink control to contour but the problem is the generated html tag seems to get encoded when it is rendered on the page... also what's appearing is just this... < id="ctl00_ctl00_ctl00_ContentPlaceHolderDefault_BrinkMasterContentPlaceHolder_RenderForm_9_rpFieldsets_ctl00_rpFields_ctl10_c4436d94_913f_4529_9b91_fd4071e1c619" href="usercontrols/umbracoContour/#"> gdfgdfgdfg
custom hyperlink control in contour
hi there, i'm trying to add a hypelink control to contour but the problem is the generated html tag seems to get encoded when it is rendered on the page... also what's appearing is just this... < id="ctl00_ctl00_ctl00_ContentPlaceHolderDefault_BrinkMasterContentPlaceHolder_RenderForm_9_rpFieldsets_ctl00_rpFields_ctl10_c4436d94_913f_4529_9b91_fd4071e1c619" href="usercontrols/umbracoContour/#"> gdfgdfgdfg
joju,
How exactly are you adding the hyperlink control, are you modifying the renderform ascx ?
Regards
Ismail
i've added a custom fieldtype by adding this class as stated in contour's developer docs
public class UmbracoContourAnchor:FieldType
{
public System.Web.UI.WebControls.HyperLink hl;
public List
Where you have line
hl.NavigateUrl = NavigateUrl;
just for now try and hardcode a url there e.g "http://www.yahoo.com" what do you get?
Regards
Ismail
same thing... < id="ctl03_rpFieldsets_ctl00_rpFields_ctl11_bdae1ca2_3470_4a1b_b20a_fa3c83ebd330" href="http://www.yahoo.com"> adasdasd
adasdasd is the innertext or text attribute of the hyperlink control
is working on a reply...