Make sure that the UL has the runat="server" tag, and you should be able to find it EDIT Instead of running the whole list at the server, try just running the list item at the server, like this: ul> .
Make sure that the UL has the runat="server" tag, and you should be able to find it. EDIT Instead of running the whole list at the server, try just running the list item at the server, like this: If that doesn't give any errors, you should be able to access it in code behind like this: HtmlGenericControl ctrl = e.Item. FindControl("listItem").
I've tried that but I get an error: Error creating control - reSubNav Unexpected end of file looking for tag (the tag is in the FooterTemplate). I've added more code above. – JBoom Aug 24 at 16:17 Oh!
I see what you're doing. Is there a reason why you can't do this with just JavaScript? – James Johnson Aug 24 at 16:26 Yeah but what i'm trying to do is change the display:none on the tag so need to find that.
There are about 10 sections each with a hidden subnav and I want to show the correct subnav dependant on which section they have selected. – JBoom Aug 24 at 16:39 would e.Item. FindControl("listItem").
Parent do it? – JBoom Aug 24 at 16:41 @JBoom: Can you set it up so that all of the items are nested within list items? Are you trying to create an accordion menu?
– James Johnson Aug 24 at 16:42.
I'm sure the control you are looking for is not within the Header. The code snippet you have posted is correct.
Posted more code above. Thanks for your help. – JBoom Aug 24 at 16:18.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.