access html control in datalist

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top