1. Add the ControlRunat = "server"
After modification:
2. <a> controlsAddRunat = "server"
After modification:
<A href = "Report/WCDMAHSDPA. aspx" runat = "server"> wcdma hsdpa </a>
3. javascript
Path Problem, add a section <% = Request. ApplicationPath %>
<Script src = "<% = Request. ApplicationPath %> sdmenu/sdmenu. js">
In this way, do not place the script code in the head and put it in the Body.
1. Add the following to the head label in MasterPage. master: <asp: ContentPlaceHolder ID ="HeadHolder"Runat =" server ">
</Asp: ContentPlaceHolder>
2. Add
<Asp: Content ID = "HeaderContent2" ContentPlaceHolderID ="HeadHolder"Runat =" Server ">
<Link rel = "stylesheet" href = "../css/layout.css" type = "text/css" media = "screen"/>
<Script src = "../js/jquery. tablesorter. min. js" type = "text/javascript"> </script>
</Asp: Content> in this way, you can specify the path to the Content page relative to js and css.
3. The Content control must have the same ID!
1. CSS: <link rel = "stylesheet" href = "~ /Css/layout.css "type =" text/css "media =" screen "/> "~ "Symbol
2. Master page JS: <% = "<script type = 'text/javascript 'src = '" + ResolveUrl ("~ /Js/jquery-1.5.2.min.js ") +" '> </script> "%>
3. Dashboard page img '/>