This is a migrated thread and some comments may be shown as answers.

JavaScript runtime error: 'WebForm_InitCallback' is undefined

3 Answers 766 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew Dorfman
Top achievements
Rank 1
Andrew Dorfman asked on 27 Aug 2013, 04:50 PM
When running my ASP.NET webforms app in the Visual Studio 2012 debugger using IIS Express and a localhost URL I'm getting the following error:

JavaScript runtime error: 'WebForm_InitCallback' is undefined

however when I deploy the app and run under IIS I do not get the error.  I've tried everything and can't resolve this.  Any suggestions?


3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 Aug 2013, 04:52 AM
Hi Andrew,

From what you have provided as an information it appears that the problem is related to the web resources. Please refer to the following help article showing how to troubleshoot this kind of problems.

Hope this helps,
Shinu.
0
Dirk
Top achievements
Rank 1
answered on 18 Sep 2013, 12:27 PM
I encountrered the same issue, my local project started throwing JS errors (after a windows 8 reinstall) like you mentioned and failed to load WebResource files (css mostly). On IIS these errors did not occur. After A LOT of searching (internet was not really helpful) I found that adding a RadStylesheetmanager to my (master)page resolved all my issues.

<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>


Dont ask me why, all I know is I can make the errors appear/dissapear by resp. removing/adding this element, at this time I'm glad I finally solved this and I'll settle for a solution with no explanation.
0
Aniello
Top achievements
Rank 1
answered on 05 Oct 2013, 08:54 AM
Hello,

i solved this problem simply emptying the cache browser.

Nello
Tags
General Discussions
Asked by
Andrew Dorfman
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Dirk
Top achievements
Rank 1
Aniello
Top achievements
Rank 1
Share this question
or