How to remove an item from a listbox client side asynchronously? I'm using RadAjaxManager, but I have to click the button 2 times to remove the item.
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
EnableAJAX
=
"True"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RemoveFeed"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"ListBoxFeeds"
LoadingPanelID
=
"ajaxLoading"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManage
>
<
telerik:RadListBox
AppendDataBoundItems
=
"true"
runat
=
"server"
ID
=
"ListBoxFeeds"
CssClass
=
"boxComments"
AutoPostBack
=
"True"
RegisterWithScriptManager
=
"True"
AllowReorder
=
"False"
AllowTransfer
=
"False"
EnableDragAndDrop
=
"False"
AllowAutomaticUpdates
=
"True"
>
<
ItemTemplate
>
<
asp:Button
ID
=
"RemoveFeed"
OnClick
=
"removeFeed_Click"
CssClass
=
"removeItem"
runat
=
"server"
Text
=
"Test"
/>
</
ItemTemplate
>
</
telerik:RadListBox
>