Search Results

Search found 2 results on 1 pages for 'zooking'.

Page 1/1 | 1 

  • FieldRenderer - Get specific field name from different template sections

    - by Zooking
    Hi, Is there a way to get a specific field name from a template with several sections to a FieldRenderer control? F.ex. I have a template with the sections "Data" and "Data2", both have a single-text-field called "Text". Is there a way to make my FieldRenderer get the field "Text" in section "Data2" It would be nice if one of the below suggestions worked: <sc:FieldRenderer ID="test" runat="server" FieldName="Text" Section="Data2" /> <sc:FieldRenderer ID="test" runat="server" FieldName="Data2/Text" /> BR Larre

    Read the article

  • Create link to Sitecore Item

    - by Zooking
    I know I have done this before but I can't seem to remember where or how. I want to create a link to an Item in Sitecore. This code: Sitecore.Data.Items.Item itm = Sitecore.Context.Database.GetItem(someID); return itm.Paths.Path.ToString(); Produces the following string: http://localhost/sitecore/content/Home/Item1/Item11/thisItem I would like to have this string instead: http://localhost/Item1/Item11/thisItem.aspx What is the correct way to get the path to the item? In this case I can't use a normal Sitecore link: Sitecore.Web.UI.WebControls.Link

    Read the article

1