c# - Get an error, probably WebResource.axd -


i have trouble, think problem webresource.axd file. using asp.net web form .net 4.5 , visual studio 2012 web developer express.

i declare in aspx file treeview, , in codebehind allocate data treeview. working, there became missing pictures, use standard systemset. so it shown in browser

here code:

.aspx:

<asp:treeview id="treeview" runat="server" showlines="true" imageset="arrows">  </asp:treeview> 

.aspx.cs:

protected void page_load(object sender, eventargs e) {     if (!page.ispostback)     {        logic.treeview("file", treeview);     } } 

web.config:

<?xml version="1.0" encoding="utf-8"?>  <!--   weitere informationen zum konfigurieren der asp.net-anwendung finden sie unter   http://go.microsoft.com/fwlink/?linkid=169433   -->      <configuration>   <system.web>     <compilation debug="true" targetframework="4.5" />     <httpruntime targetframework="4.5" />        <httphandlers>         <add path="webresource.axd" verb="get" type="system.web.handlers.assemblyresourceloader" validate="true"/>       </httphandlers>    </system.web>   <system.servicemodel>     <servicehostingenvironment aspnetcompatibilityenabled="true"/>     <standardendpoints>       <webhttpendpoint>         <standardendpoint name="" helpenabled="true" automaticformatselectionenabled="true" crossdomainscriptaccessenabled="true"/>       </webhttpendpoint>       <webscriptendpoint>         <standardendpoint crossdomainscriptaccessenabled="true"/>       </webscriptendpoint>     </standardendpoints>   </system.servicemodel>     <system.webserver>     <validation validateintegratedmodeconfiguration="false"/>   </system.webserver>   </configuration> 

when start debugging js error, in ie, not in chrome example. run-time error in microsoft jscript: "webform_initcallback" ist undefined

can help, haven't idea how solve problem.

couple of simple things try first:

are files in location specified (perhaps use firebug or similar to @ elements find location, might confused ~/ ./ paths).

if you're using server operating system have got "static content" role ticked in server manager, otherwise css , images won't shown.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -