This is a migrated thread and some comments may be shown as answers.

Disable Text editing mechanism

3 Answers 70 Views
BreadCrumb
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 24 Sep 2019, 02:37 PM

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

 

 

3 Answers, 1 is accepted

Sort by
0
Patrick
Top achievements
Rank 1
answered on 24 Sep 2019, 02:40 PM
I forgot to mention, I have set the IsTextModeEnabled to false, but the customer can still edit the text
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 01 Oct 2019, 04:54 AM

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.
0
Patrick
Top achievements
Rank 1
answered on 01 Oct 2019, 06:50 AM

Hi Dess,

 

Thanks for the solution.

I am going to apply this.

 

Grtz Patrick

Tags
BreadCrumb
Asked by
Patrick
Top achievements
Rank 1
Answers by
Patrick
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or