autocompleteextender 没有找到DelimiterCharacters的公共属性?
大家帮我看看错在哪里?
我只是把AjaxControlToolkit.dll和AjaxControlToolkit.pdb复制到项目的bin目录,
然后再工具栏添加一个标签,内容加入AjaxControlToolkit.dll,就直接使用autocompleteextender。这样布置环境有没有问题?
<td align="left" width="30%">
<asp:textbox id="txtCrsNam" onkeydown="enter()" runat="server" Width="216px" MaxLength="8"></asp:textbox>
<cc1:autocompleteextender
runat="server"
BehaviorID="AutoCompleteEx"
ID="autoComplete1"
TargetControlID="txtCrsNam"
ServicePath="AutoCompleteCrsName.asmx"
ServiceMethod="GetCompletionList"
MinimumPrefixLength="2"
CompletionInterval="500"
EnableCaching="true"
CompletionSetCount="20"
CompletionListCssClass="autocomplete_completionListElement"
CompletionListItemCssClass="autocomplete_listItem"
CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
DelimiterCharacters=";,:">
<Animations>
<OnShow>
<Sequence>
<OpacityAction Opacity="0" />
<HideAction Visible="true" />
<ScriptAction Script="
// Cache the size and setup the initial size
var behavior = $find('AutoCompleteEx');
if (!behavior._height) {
var target = behavior.get_completionList();
behavior._height = target.offsetHeight - 2;
target.style.height = '0px';
}" />
<Parallel Duration=".4">
<FadeIn />
<Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx')._height" />
</Parallel>
</Sequence>
</OnShow>
<OnHide>
<Parallel Duration=".4">
<FadeOut />
<Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx')._height" EndValue="0" />
</Parallel>
</OnHide></Animations>
</cc1:autocompleteextender></td>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货