I have a breadcrumb as :
Level 1 –> Level 2
I want to remove the hyperlink of first link(Level 1) but the text should remain. This is a user control, so I cannot hard code it in control.
Is there anyway I can remove the hyperlink only for first level and only in a particular page ?
Any pointers ??
Go through child controls inside your control (through
ctl.Controlescollection), investigate each one in your code, and according to your logic, cancel the hyperlink. One of the ways could be hiding or deleting the original hyperlink, and injecting anasp:literalinstead.