Hi,
I am trying to cause a partial postback using the radiobutton list's selection event but it causes full postback. Any idea why this could be happening?
I thought I would be able to get partial postback when;
1) The control is inside the Update Panel
2) The control's AutoPostback='true'
3) The control has AsyncPostBackTrigger
4) Update panels' UpdateMode="Conditional"
Partial postback occurs for the text box's text changed event but Full postback occurs when i click the radio button list item.
Here is the example of the aspx file;
<ajaxToolkit:AccordionPane ID="AccordionCommodityInfo" runat="server">
<Header>Commodity(ies)</Header>
<Content>
<asp:UpdatePanel ID="UpdatePanelCommodity" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:RadioButtonList ID="rdHousehold" RepeatDirection="Horizontal" OnSelectedIndexChanged ="rdHousehold_SelectedIndexChanged" AutoPostBack="true" runat="server">
<asp:ListItem Text ="Yes" Value="Y" />
<asp:ListItem Text ="No" Value="N" />
</asp:RadioButtonList>
<asp:TextBox ID="txtScheduleB" runat="server" AutoPostBack="true" OnTextChanged ="txtScheduleB_textChanged" style="display:none;" Width="256px" ></asp:TextBox>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="txtScheduleB" />
</Triggers>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="rdHousehold" EventName="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel>
</Content>
</ajaxToolkit:AccordionPane>