<asp:TextBox ID="txtPosition" runat="server" Width="50px" Text='<%# Eval("Position")%>' >
</asp:TextBox>
Put a
OnClientClick
attribute in it. Use it. Tie a JS method. Pass '
this
' as one of the parameter to method. In mehtod, check the value of the textbox and take appropriate action.