Disable Text editing mechanism

4 posts, 1 answers
  1. Patrick
    Patrick avatar
    43 posts
    Member since:
    Aug 2018

    Posted 24 Sep 2019 Link to this post

    Hello,

    I recently updated to R3 2019.

    In this update the Breadcrumb got several updates.

    One of the updates is the text editing mechanism, but for my application, this is an unwanted option. How can I disable this option?

     

    Grtz Patrick

     

     

  2. Patrick
    Patrick avatar
    43 posts
    Member since:
    Aug 2018

    Posted 24 Sep 2019 in reply to Patrick Link to this post

    I forgot to mention, I have set the IsTextModeEnabled to false, but the customer can still edit the text
  3. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3562 posts

    Posted 30 Sep 2019 Link to this post

    Hi Patrick,

    Please excuse us for the delay in our reply. 
    Indeed, there is an issue with the IsTextModeEnabled property of the control. I have logged an item on your behalf, here: RadBreadCrumb: The IsTextModeEnabled property does not affect the editor. The issue will be fixed in the Service pack release scheduled for the end of October. I have also updated your Telerik Points. A possible workaround is to create a custom control and override the BeginEdit method: 

    public class MyRadBreadCrumb : RadBreadCrumb
    {
        public override string ThemeClassName
        {
            get
            {
                return typeof(RadBreadCrumb).FullName;
            }
        }
    
        protected override RadBreadCrumbElement CraeteBreadCrumbElement()
        {
            return new MyRadBreadCrumbElement();
        }
    }
    
    public class MyRadBreadCrumbElement : RadBreadCrumbElement
    {
        protected override Type ThemeEffectiveType
        {
            get
            {
                return typeof(RadBreadCrumbElement);
            }
        }
    
        public override void BeginEdit()
        {
        }
    }

    I hope this will help. Let me know if you need further assistance.

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  4. Patrick
    Patrick avatar
    43 posts
    Member since:
    Aug 2018

    Posted 01 Oct 2019 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    Hi Dess,

     

    Thanks for the solution.

    I am going to apply this.

     

    Grtz Patrick

Back to Top