I have two radio buttons on my aspx page, and when I click one, it does a full page submit. I need to implement Ajax functionality. How can I do that?
On my html page, I have a reference to the AjaxToolkit. Any suggestion?
The html code is:
On my html page, I have a reference to the AjaxToolkit. Any suggestion?
The html code is:
<
asp:Panel
ID
=
"pnlSelectAllItemsClearAllItems"
Visible
=
"true"
runat
=
"server"
ScrollBars
=
"None"
>
<
table
border
=
"0"
>
<
tr
>
<
td
width
=
"50%"
style
=
"height:2%;"
>
<
asp:RadioButtonList
ID
=
"rbSelectAllItemsClearAllItems"
runat
=
"server"
AutoPostBack
=
"true"
RepeatDirection
=
"Horizontal"
Enabled
=
"true"
OnSelectedIndexChanged
=
"rbSelectClearAllItems_OnSelectedIndexChanged"
>
<
asp:ListItem
Value
=
"SelectAllItems"
>Select All Items</
asp:ListItem
>
<
asp:ListItem
Value
=
"ClearAll"
>Clear All</
asp:ListItem
>
</
asp:RadioButtonList
>
</
td
>
<
td
style
=
"text-align: center; height:2%;"
width
=
"50%"
>
<
asp:Button
runat
=
"server"
Text
=
"Archive Selected Items"
ID
=
"btnArchiveSelected"
onclick
=
"btnArchiveSelected_Click"
/>
</
td
>
</
tr
>
</
table
>
</
asp:Panel
>