E
Eskimo
Hi,
I have extended System.Collections.CollectionBase to hold an object that I
wrote.
When I databind to a radio button list and select one of the displayed values
and initiate a postback I expected
System.Diagnostics.Trace.WriteLine("Selected Item: " +
RadioButtonList1.SelectedItem);
System.Diagnostics.Trace.WriteLine("Selected Value: " +
RadioButtonList1.SelectedValue);
to display values.
Help!
p.s.
the populate code in page_load event:
....
RadioButtonList1.DataTextField = "FIELD I WANT TO SHOW";
RadioButtonList1.DataValueField = "FIELD VALUE I NEED";
RadioButtonList1.DataSource = <Extended list object>;
RadioButtonList1.DataBind();
....
tym, Eskimo
I have extended System.Collections.CollectionBase to hold an object that I
wrote.
When I databind to a radio button list and select one of the displayed values
and initiate a postback I expected
System.Diagnostics.Trace.WriteLine("Selected Item: " +
RadioButtonList1.SelectedItem);
System.Diagnostics.Trace.WriteLine("Selected Value: " +
RadioButtonList1.SelectedValue);
to display values.
Help!
p.s.
the populate code in page_load event:
....
RadioButtonList1.DataTextField = "FIELD I WANT TO SHOW";
RadioButtonList1.DataValueField = "FIELD VALUE I NEED";
RadioButtonList1.DataSource = <Extended list object>;
RadioButtonList1.DataBind();
....
tym, Eskimo