StartingNodeUrl error
Hi,
I upgrade my site to the last build (03-12) one of mine navigation control stoped to work. It seems that this version have a o problem width the property StartingNodeUrl . If i give a valid URL to StartingNode it throws an error. Example :
<sfNav:NavigationControl id="LM" runat="server" MaxDataBindDepth="3" StartingNodeUrl="/test3" SelectionMode="SelectedPageChildren" NavigationAction="OnClick" NavigationMode="VerticalTree" ></sfNav:NavigationControl>
I need an urgent solution because i need to fix this problem.
Hi JV,
I checked the control you pasted, but I was not able to replicate any issue. Are you getting any error?
Best wishes,
Ivan Dimitrov
the Telerik team
Hi JV,
This error appears if the StartingNodeUrl does not exist on the current page culture. For instance you have set StartingNodeUrl to "teste3" which has been created under "PT" culture and you are adding your control on a page where the culture is "EN". If teste3 exist in both the languages there should not be a problem.
Regards,
Ivan Dimitrov
the Telerik team
Hi,
This pages exists in the current language i am in the PT version of the site and if i click in the page the error shows (so the StartingNodeUrl does exists).
I don't understand that before upgrade to last release i don't have this problem and now i have.
I need a solution and need to understand how to resolve it.
I try to made a downgrade of the release and start working if i make the upgrade stops working.
Is clear that something changed an i don't know what ?
To have both languages of one page is not one solution because i don't need to translate all my site and the features of sitefinity allow me to do that.
Hello JV,
The only way that I am able to replicate this issue is when the NavigationControl uses StartingNodeUrl which does not exist in the current culture and this is what the error says - there is not node in the SiteMap.
1. Have you added your navigation control on a page or it is inside the template?
2. Which is the language version under which you created a template and added the control?
3. Which is the language version under which you browse the page when the error appear?
Greetings,
Ivan Dimitrov
the Telerik team
This happens to me as well using the default navigation control that is provided. I do not have any languages setup on this project.
It seems to happen when you select 'start from a certain node' in the navigation options, if you set it to the root 'Pages' it does not seem to have a problem
Hi,
I have two languages (pt-PT the default and EN as second)
1 - The navigation control is inside a template in the.master file (see image in attach)
2 - I think i don't understand the question, the templates does'nt have language ? I create the page in my default language (pt-PT) and link/associate that page to my template.
3 - It is PT, because my default language is PT. If i inject the domain/teste3 so the page exists.
I tried to begin with one new database but the problem is the same.
Hi,
another strange thing. I tried to had the navigation control to my page by editing the page and drag an drop it in the page. After drop it i tried to costumize it so i edit the control and select the option "All pages under particular page".
Please see the attached file !!
Yikes, well mine isn't that bad, I can still pick pages and the names show up. But when clicking finish I get the exception.
Hello Kristian,
We have logged a bug with ID 100876 for this issue.
Regards,
Ivan Dimitrov
the Telerik team