This question is locked. New answers and comments are not allowed.
Hi,
How can I set selected item when the items url is not present?
The issue is about categories and products. Each category has X number of products.
Now, the panelbar shows the categories.
But when I browse to a product I want to show the panelbar on the left side.
So the only thing I have is the ID from the category which I get from the product.
The only thing available is SelectedIndex for the panelbar but I don't know this value.
Maybe there is a simple way to solve this but otherwise a nice feature would be a property called SelectedUrl or something and this could match an items url property.
Regards,
Mattias
How can I set selected item when the items url is not present?
The issue is about categories and products. Each category has X number of products.
Now, the panelbar shows the categories.
But when I browse to a product I want to show the panelbar on the left side.
So the only thing I have is the ID from the category which I get from the product.
The only thing available is SelectedIndex for the panelbar but I don't know this value.
Maybe there is a simple way to solve this but otherwise a nice feature would be a property called SelectedUrl or something and this could match an items url property.
Regards,
Mattias
