object[] ar = new ArrayList(RadioButtonList1.Items).ToArray();
foreach (object o in ar) { Response.Write(o.ToString()); }
Regards, Sheo Narayan http://www.dotnetfunda.com
ArrayList radioButtons = new ArrayList(); foreach (Control ctl in this.Controls) { RadioButton btn = ctl as RadioButton; if (btn != null) radioButtons.Add(btn); } this._radioButtonArray = (RadioButton[])radioButtons.ToArray(typeof(RadioButton));
_______________________________________ Nisar Ahmad http://www.dotnetobject.com/
Login to post response