How to get Container.ItemIndex+1 in textbox control
I have problem on below code.
<asp:TextBox ID="tbxCode" runat="server" CssClass="short " Text='<%# Eval("Code") %>'
onclick="LoadPopup('1','<%#Container.ItemIndex+1 %>')"></asp:TextBox>
<asp:TextBox ID="tbxDesc" runat="server" CssClass="medium" Text='<%# Eval("Desc") %>'
onclick="LoadPopup('1','<%#Container.ItemIndex+1 %>')"></asp:TextBox> //have problem because of runat=server
<input type="button" class="popup_button" onclick="LoadPopup('1','<%#Container.ItemIndex+1 %>')"
value=".." /> // working fine
how to solve this. I m using this textbox inside the repeater control.