If I set the TargetControlID of the AutoCompleteExtender to the Textbox which is positioned in a Toolbar I get the Error that the control cannot be found. Does anyone know a solution to this?
Thank you very much!
<
telerik:RadToolBar ID="rdtbSearchQualifications" runat="server" Width="100%"
meta:resourcekey="rdtSelectionResource1"
OnButtonClick="rdtbSearchQualifications_ButtonClick"
Style="display: block; float: none">
<CollapseAnimation Duration="200" Type="OutQuint" />
<Items>
<telerik:RadToolBarButton runat="server"
CommandName="SearchString" Width="150px">
<ItemTemplate>
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<asp:TextBox ID="tbSearchString" runat="server"
meta:resourcekey="tbSearchStringResource1" Width="200px">
</telerik:TextBox>
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadToolBarButton>
<telerik:RadToolBarButton runat="server"
ImageUrl="~/_controltemplates/UserControls/SkillManagement/Resources/Images/Portfolio Add.png"
meta:resourcekey="RadToolBarButtonResource10" Text="Search qualification" CommandName="searchQualification"
Value="searchQualification" Width="150">
</telerik:RadToolBarButton>
</Items>
</telerik:RadToolBar>
<ajaxToolkit:AutoCompleteExtender ID="AutoCompleteExtenderQualificationSearch"
runat="server"
MinimumPrefixLength="1"
CompletionSetCount="15"
ServicePath="~/UserControls/SkillManagement/QualificationCatalog/Webservices/QualificationCatalog.asmx"
ServiceMethod="SearchQualifications"
TargetControlID="tbSearchString"
CompletionListItemCssClass="DefaultText"
CompletionListHighlightedItemCssClass="HeaderText"
OnClientItemSelected="ClientStartQualificationSearch">
</ajaxToolkit:AutoCompleteExtender>
<ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server" TargetControlID="tbSearchString" WatermarkText="Bitte Suchtext eingeben...">
</ajaxToolkit:TextBoxWatermarkExtender>