Hi Shailesh, thanks for the response. I set up the following in the
ItemDataBound event and set a breakpoint but has nothing in s_temp.
here is the control id <asp:dropdownlist id=dr_lst_dest
in the ItemDataBound event for the grid I have
Dim s_temp As Object
s_temp = e.Item.FindControl("dr_lst_dest")'breakpt here
End Sub
Also I need to read the selected value when someone makes a selection
probably in the
DataGrid1_SelectedIndexChanged event, was not sure if you have done that
before.
"Shailesh Jannu" wrote:
Handle the ItemDataBound event
and in the event find the control using e.Item.FindControl(controlID)
and then when u get the control change the text of the control..
"Paul" wrote:
Hi I need to change the text value of a dropdown list box that is in a
template column of a data grid but was not sure how to access it, probably
something like
datagrid1.control.dropdownlist.text = "" but not sure.
--
Paul G
Software engineer.