I’m using a RadListView and i want to click a checkbox/button (It displays as a checkbox but its designer code shows it as a button). But every time i call the click method the page refreshes instead of updating the update panel which contains the list view.
How do i call the click event without the page posting back instead of the update panel?
<asp:Button ID="SelectButton" runat="server" CausesValidation="False" CommandName="Select"
CssClass="rlvBSel" Text=" " ToolTip="Select" />
Code:
$(".rlvI, .rlvA").click(function () {
$(this).find(".rlvBSel").click();
});
I assume that your page does a full postback instead of an asynchronous.
Is the Button inside of the UpdatePanel or outside? If the latter(or it’s ChildrenAsTriggers is set to
false) you must define an AsyncPostBackTrigger in the UpdatePanel.For example:
Maybe it’ll solve your issue if you set
clientIDMode="AutoID"http://www.aspnetajaxtutorials.com/2011/05/linkbutton-inside-listview-cause-full.html