Akbar Admg
Akbar Admg

Reputation: 447

How to remove WebResource.axd from asp.net page?

In my navigation bar there is a WebResource.axd file embedded as an image in dll file.

The path of WebResource.axd is: src="/WebResource.axd?d=9M-49D3Ji5lBmHrEjR6rfTaqFb3jthECoNLnrcsU7mH8Lyg1lbLMdX-IKhDVenhWhqwKA1hi4HeD25BX0MuFZhHzfKwVNnl7K1VrsirLiJU1&t=634394609458919508">

Upvotes: 1

Views: 4556

Answers (1)

Haacked
Haacked

Reputation: 59061

Perhaps a better question to ask is "How do you disable the default menu arrow image with the System.Web.Ui.WebControls.Menu control?"

The answer to that is to set the properties: DynamicEnableDefaultPopOutImage and StaticEnableDefaultPopOutImage properties.

For example:

<asp:Menu id="menu" runat="server" 
   DynamicEnableDefaultPopOutImage="false" 
   StaticEnableDefaultPopOutImage="false">

That will remove the rendering of the default image.

Upvotes: 2

Related Questions