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

BreadCrump not working if items of the path contain "\"

3 Answers 95 Views
BreadCrumb
This is a migrated thread and some comments may be shown as answers.
HDC
Top achievements
Rank 1
HDC asked on 05 Jan 2012, 08:47 AM
I have coupled a treeview with a breadcrumb in a similar manner as the following demo:

http://demos.telerik.com/silverlight/#Breadcrumb/FirstLook

However, instead of calling the local disk "C:" i have called the local disk "C:\"

When i click a child node of the local disk on the tree, the breadcrumb will no longer follow the path of the tree. With other words, if you include a "\" anywhere in the items of the tree, the breadcrumb will cease to work.

I think this is a bug that needs to be resolved.

Peter

3 Answers, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 09 Jan 2012, 09:14 AM
Hello,
The RadBreadcrumb stops to work correctly if some name contains '\' because this is its default path separator and whenever the breadcrumb finds it in the Path it thinks that this is the end of the name. You can change the default path separator by the PathSeparator property and if you set something that is not present in the names of your items everything should work fine.
If you have more questions please feel free to ask.

Kind regards,
Zarko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
HDC
Top achievements
Rank 1
answered on 13 Jan 2012, 10:53 AM
 I decided to make sure "\" is no longer being used on items in the path. At the same time, i'm thinking that this may be added to the documentation of the component.
0
Tina Stancheva
Telerik team
answered on 17 Jan 2012, 03:30 PM
Hello Peter,

Thank you for this feedback. We will update the documentation to include this information as soon as possible.

Greetings,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
BreadCrumb
Asked by
HDC
Top achievements
Rank 1
Answers by
Zarko
Telerik team
HDC
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or