Erik,
I am trying to accomplish roughly the same thing as pike. I have the event firing as per your solution of having all dropdownlists linked to the same method. This means I know what the selected value of the changed dropdownlist is.
In my repeater itemtemplate I also have a textbox. What I want to do is populate the textbox, on the same row, with the selected value of the dropdownlist. In the method that gets fired on the selectedindexchanged event how do I reference the textbox that is on the same row as the dropdownlist?
Here is what my itemtemplate looks like if it helps any:
<itemtemplate>
<tr>
<td>
<asp:dropdownlist runat="server" autopostback="True" id="dropdownid" onselectedindexchanged="dropdownmethod">
<asp:listitem value="0">0</asp:listitem>
<asp:listitem value="1">1</asp:listitem>
<asp:listitem value="2">2</asp:listitem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td>
<asp:textbox runat="server" textmode="MultiLine" rows="4" width="100%"></asp:textbox>
</td>
</tr>
</itemtemplate>
When a user selects an item in the dropdown it should populate the textbox with the selected value, but only the textbox on the same row. Other textboxes should not be changed. Any help is appreciated.
Thanks for your time,
Eric