T
Tarun Mistry
Hi guys,
im trying to do something which I feel isn't that difficult. I'm just a
little lost in the .net framework. Here goes...
I have a repeater which is using a SiteMapDataSource to bind to. I am trying
to make my own custom navigation system. All in all it works fine. I simply
create a new <asp:HyperLink> for each new entry and use the
<SeperoratorTemplate> to format how it all appears.
However, I would like to display the style of the selected page differently.
I.e. For the page the user is currently visiting, I want the HyperLink to
use a different CSS style than the rest. I can't quite figure out how todo
this. I have a feeling I need catch an event, either from the Repeater
control or the hyperlink, however im not sure what todo and what properties
to check for.
Any help in this matter would be really appreciated!
Thank you!
Taz
im trying to do something which I feel isn't that difficult. I'm just a
little lost in the .net framework. Here goes...
I have a repeater which is using a SiteMapDataSource to bind to. I am trying
to make my own custom navigation system. All in all it works fine. I simply
create a new <asp:HyperLink> for each new entry and use the
<SeperoratorTemplate> to format how it all appears.
However, I would like to display the style of the selected page differently.
I.e. For the page the user is currently visiting, I want the HyperLink to
use a different CSS style than the rest. I can't quite figure out how todo
this. I have a feeling I need catch an event, either from the Repeater
control or the hyperlink, however im not sure what todo and what properties
to check for.
Any help in this matter would be really appreciated!
Thank you!
Taz