Hi All,
I have dropdownlist and textbox controls inside repeater control. Suppose when i select specific dropdownlist i want get the value of selected item and mean while i want to get the textbox text which in the same row.
<script type="text/javascript"> var ddlType; function ddl(ddl) { ddlType = ddl.value; alert(ddlType); } </script> <asp:Repeater ID="RepterDetails" runat="server" onitemdatabound="RepterDetails_ItemDataBound" onitemcommand="RepterDetails_ItemCommand" > <ItemTemplate> <tr> <td> <asp:DropDownList ID="ddlTypeName" runat="server" onchange="ddl(this)"></asp:DropDownList> </td> <td> <asp:TextBox ID="txtCode" runat="server" Text='<%#Eval("otaRoomTypeCode") %>' /> </td> </tr> </ItemTemp ...

Go to the complete details ...