Link to home
Start Free TrialLog in
Avatar of vbasqlprogrammer
vbasqlprogrammer

asked on

Asp .Net Menu won't display child items

Hi,

I have dropped the .net menu component onto my aspx page, added some items, and also some child items, and it displays on my laptop fine,  But when uploaded to the web host, it won't display the child items of the menu.  I have attached a screen dump of the error.

If anyone could help that would be great.

Thanks in advance,

TB
csscreendump.doc
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

It doens't look like the .Net menu to me, but I could be wrong.  In any case, the mouseover and mouseout events are calling Menu_HoverStatic(this) and Menu_Unhover(this) respectively and I can't find either in your page.
Avatar of vbasqlprogrammer
vbasqlprogrammer

ASKER

Here is the code for the menu just so you can see whats there
<asp:Menu ID="Menu1" runat="server" CssClass="IE8Fix" Orientation="Horizontal">
<Items>
     <asp:MenuItem Text = "Home"></asp:MenuItem>
     <asp:MenuItem Text="Studies"></asp:MenuItem>
     <asp:MenuItem Text="Series">
         <asp:MenuItem Text="LOC"></asp:MenuItem>
     </asp:MenuItem>                    
     <asp:MenuItem Text="Pioneer Chronicle"></asp:MenuItem>
</Items>
</asp:Menu>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Loftbug
Loftbug

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you so much Loftbug.  Yes, you are absolutely right.  I have had major troubles with my web host, as the website just stopped working(And websites don't just stop working!) for some reason which they could not explain to me, nor were they interested in sorting the situation out, when clearly it was their server which was the problem.  Anyhow, I had to develop a work around, and the only way around their problem was to create a redirect to another directory which I lablled stores, and put the whole website into that.  And it will e the redirect adding the stores to the url.  I will sort it out.  Thanks again for your help.
Hi Loftbug,

Could you please tell me where I can file the .adx? file because I can't find it anywhere in my site? Where does visual studio place the file when the site is compiled?

Thanks for your help.
Hi vbasqlprogrammer,

Glad you came right!

Okay to answer your question about the WebResource.axd file. This .axd page is dynamically generated by ASP.NET and is usually accessible from your website root. For example http://christadelphianstudies.com/WebResource.axd?...

To test if your webresource.axd page is working you can load your website and view its source, locate the .axd url in the html body and put that url into your browser. If it loads fine then its working.

cheers,

 L
Ok, thank you.  So can I actually tell the server where to generate these pages?
The Webresource.axd does have a path attribute you can set in the Web.config file, however I havent tested changing that yet. Maybe try experimenting and see what happens.