R
Roshawn Dawson
Hi,
I have a Repeater control that contains a textbox in its ItemTemplate.
The textbox will make use of a javascript function. However, this
function needs the index of the textbox in order to work. Here's what I
have:
<asp:Repeater id="Repeater1" runat="server"><ItemTemplate>
<asp:textbox id="TextBox1" text="<%#Container.DataItem("Name")%>"
onblur="javascript:fixName('here is where I get lost')" />
</ItemTemplate></asp:Repeater>
What technique or code can be written to populate this at runtime?
Thx,
Roshawn
I have a Repeater control that contains a textbox in its ItemTemplate.
The textbox will make use of a javascript function. However, this
function needs the index of the textbox in order to work. Here's what I
have:
<asp:Repeater id="Repeater1" runat="server"><ItemTemplate>
<asp:textbox id="TextBox1" text="<%#Container.DataItem("Name")%>"
onblur="javascript:fixName('here is where I get lost')" />
</ItemTemplate></asp:Repeater>
What technique or code can be written to populate this at runtime?
Thx,
Roshawn