ASP.net not generating javascript for some User Agents

后端 未结 6 1293
一整个雨季
一整个雨季 2020-12-20 22:26

********************Edit 2********************** I figured out the problem... But I don\'t like the implications. I was testing our iPhone targeted mobile application earli

6条回答
  •  猫巷女王i
    2020-12-20 23:05

    You have AutoEventWireup set to false, but no Override of OnInit to attach the event. Try changing the AutoEventWireup to true.

    Edit: From the more information it could be that it is incorrectly identifying Firefox in the brower capabilities section of your machine.config. (or web.config).

    It could also be that JavaScript is turned off in Firefox, and thus .NET is determining that there is no point rendering the Javascript stuff, and should use a different approach to postback handling, if there is such a thing.

提交回复
热议问题