Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uncaught TypeError: Cannot read property 'UI' of undefined

The error is in an ASP.NET Ajax application. This is the line of JQuery UI code the error refers to:

Sys.Extended.UI.DropDownBehavior
like image 390
Metaphor Avatar asked Sep 05 '13 20:09

Metaphor


3 Answers

<ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server"></ajaxToolkit:ToolkitScriptManager>

use it instead of simple script manager

like image 81
twostepdevelopers Avatar answered Nov 09 '22 03:11

twostepdevelopers


The solution was to replace <asp:ScriptManager> with <ajaxToolkit:ToolkitScriptManager>.

like image 35
Metaphor Avatar answered Nov 09 '22 03:11

Metaphor


In my case, I ended up needing to use <ajaxToolkit:ToolkitScriptManager> instead.

like image 6
digarok Avatar answered Nov 09 '22 04:11

digarok