More in this section

Forums / Bugs & Issues / Breadcrumb control

Breadcrumb control

2 posts, 0 answered
  1. shraddha
    shraddha avatar
    87 posts
    18 May 2009
    02 Nov 2009
    Link to this post
    I want to make some UI lavel changes to Navigation >> Bread crumb control.
    I wanted to know which .ascx contains code for the same. So that I can make changes accordingly.
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    02 Nov 2009
    Link to this post
    Hi shraddha,

    Thank you for contacting Telerik Support.

    The Breadcrumb navigation control can be modified to have different UI.  In fact there already is one implementation of this in our community forums. You can find the implementation here - Breadcrumb as a list. The implementation there utilizes CSS adapters, and you can find more information on this topic, by reading Scott Gu's blog post. This control unlike the rest of the controls does not have an external template that we can point you to.

    You can use the RedGate's .NET Reflector to disassemble the Telerik.Web.UI.dll located in your project's bin folder, to inspect the source of the Telerik.Web.UI.Breadcrumb control.

    I have also attached sample code that shows how to create control adapters that specify how the built in controls will behave. So to make this work you just have to create a new class in your ~/App_Code directory, add the code there and then configure the new adapter. I have prepared the adapter class. Just add the contents of the archive I have attached to your project.  Then go to the ~/App_Browsers/BrowserFile.browser and add the adapter in the <controlAdapters> tag:
         <adapter controlType="Telerik.Cms.Web.UI.Breadcrumb" adapterType="CSSFriendly.BreadCrumbAsList, App_Code"/>

    Sincerely yours,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered