I am attempting to use the ComboBox control from the toolkit and it appears to be broken right out of the box. Here is my code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Test._Default" %><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><title></title></head><body><form id="form1" runat="server"><asp:ScriptManager runat="server"></asp:ScriptManager><div id="content"><div id="Client"><cc1:ComboBox ID="ComboBox1" runat="server" AutoCompleteMode="SuggestAppend" AppendDataBoundItems="true" ItemInsertLocation="OrdinalText" MaxLength="100"><asp:ListItem Text="Item 1" Value="Item 1"></asp:ListItem><asp:ListItem Text="Item 2" Value="Item 2"></asp:ListItem></cc1:ComboBox></div></div></form></body></html>
There is no code behind. When typing an item into the box that does not exist, hitting enter to submit it causes the error " 'this._postBackSettings.async' is null or not an object". It does complete the action and after clearing the error message the new
item is present in the list, however I need to know why the error comes up and how to fix it.