well, you need to add a runat="Server" at which point you can access it via
dim mycontrol as HtmlTextInput = ctype(e.Item.FindControls("myControl"),
HtmlTextInput)
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"zino" <my*****@mail.com> wrote in message
news:9E**********************************@microsof t.com...
is there a way to access an HTML control embeded inside a datalist ?
I need to format the datalist depends on specific condition while
databinding
( on ItemDataBound)
<datalist runat=server>
<itemTemplate>
<input type=text value='<%#
CType(Container.DataItem,System.Data.DataRowView)( "myValue") %>'
id=myControl>
</itemTemplate>
</datalist>
thanks for help