Asp.Net, DropDownList, AutoPostBack and Google Chrome

前端 未结 6 988
轻奢々
轻奢々 2020-12-13 21:51

I\'ve a simple asp.net page (framework 3.5) and an UpdatePanel with a series of dropdownlist I want to populate asyncronously. All works fine in all major browsers (Opera, S

6条回答
  •  再見小時候
    2020-12-13 22:12

    I have the same problem. I've got a dropdown inside a ajax postback and need to do an update when the selected index changes. It works with a basic page in a new project too.

    After adding the Webkit script mentioned in the other answers I still get the same problem and when running the javascript debugger in Chrome I get this error:

    uncaught exception ReferenceError: evt is not defined

    UPDATE: SOLUTION

    I found that in my case it was a CustomValidator that was interfering with the event handler. Setting EnableClientScript to false fixed the issue.

提交回复
热议问题