Hi
we have page on which i have radio button list with Autopost = true when page load for the first time it works fine
but when i move from Page 1 to Page 2 And come back to page 1 with some query string when click on radio button list it does not post back
Plz See Code below
<div id="divshippmethod" class="PageSection full ShippingInformation" runat="server">
<h1>
Shipping Method</h1>
<div class="content">
<asp:RadioButtonList CellSpacing="0" CellPadding="0" ID="rbtnShippingMethod" RepeatDirection="Horizontal"
AutoPostBack="true" runat="server">
<asp:ListItem Text=" Shipping Information" Value="0" Selected="True"></asp:ListItem>
<asp:ListItem Text=" Mail List Upload"
Value="1"></asp:ListItem>
</asp:RadioButtonList>
</div>
Rajax setting are below
<telerik:AjaxSetting AjaxControlID="rbtnShippingMethod">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="rbtnShippingMethod" LoadingPanelID="RadAjaxLoadingPanel" />
<telerik:AjaxUpdatedControl ControlID="pnlShipping" />
<telerik:AjaxUpdatedControl ControlID="pnlMailListUpload" />
</UpdatedControls>
</telerik:AjaxSetting>
Protected Sub rbtnShippingMethod_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles rbtnShippingMethod.SelectedIndexChanged
If rbtnShippingMethod.SelectedValue = 1 Then
pnlShipping.Visible = False
pnlMailListUpload.Visible = True
Else
pnlShipping.Visible = True
pnlMailListUpload.Visible = False
End If
End Sub
first time when pnlMailListUpload. is true, it has a button which Response.Redirects to another page on which i do some activity and come back to this page again.
now if i select any item from the radiobuttonlist then rbtnShippingMethod_SelectedIndexChanged is not firing , on doing inspectElement from FF we found that the required postback JS (__dopostbakc) is not attached with the onclick event of the radio button.
plz help.