How do I access Child Controls in a Template Column with Server Side Code?

1 reply. Last post: February 10, 2010 6:22 AM by Andi Santoso
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

I have the following code:

<ISWebGrid:WebGridColumn
	Name="PriorityCellTemplate_WebGridColumn"
	Bound="False"
	Caption="PRIORITY"
	ColumnType="Template"
	Width="100px"
>
	<CellTemplate>
		<asp:DropDownList 
			ID="RefurbPriority_DropDownList" 
			runat="server"
			SelectedValue='<%# Bind("REFURB_PRIORITY") %>'
		>
			<asp:ListItem Text="ASSESS - 1" Value="1" />
			<asp:ListItem Text="ASSESS - 2" Value="2" />
			<asp:ListItem Text="ASSESS - 3" Value="3" />
			<asp:ListItem Text="DISPOSE" Value="D" />
			<asp:ListItem Text="UNDECIDED" Value="" Selected="True" />
		</ASP:DropDownList>
	</CellTemplate>
</ISWebGrid:WebGridColumn>

 

How can I access the Child Control, RefurbPriority_DropDownList with Server Side Code?

 

Thanks,

Doug

All times are GMT -5. The time now is 10:38 PM.
Previous Next