Hi,
I have a RadioButtonList as part of my FormTemplate. When the index of this changes, I want to do some server-side processing & change the value of a label that is also in the Form Template. So, I have set up within the FormTemplate
And in the code behind:
But they are never found and my Controls are set to null; Any help/suggestions? I've seen the client-side solution to this, but I would prefer to not do this on the client.
Thanks.
I have a RadioButtonList as part of my FormTemplate. When the index of this changes, I want to do some server-side processing & change the value of a label that is also in the Form Template. So, I have set up within the FormTemplate
<asp:RadioButtonList ID="rdo1" runat="server" |
Onselectedindexchanged="rdo1_SelectedIndexChanged" AutoPostBack="True"> |
</asp:RadioButtonList> |
And in the code behind:
protected void rdo1_SelectedIndexChanged(object sender, EventArgs e) { |
RadioButtonList rdoList = this.RadGrid1.FindControl("rdo1") as RadioButtonList; |
Label lbl = this.RadGrid1.FindControl("lbl1") as Label; |
} |
But they are never found and my Controls are set to null; Any help/suggestions? I've seen the client-side solution to this, but I would prefer to not do this on the client.
Thanks.