Hi,
I have a combobox, that when changed, should change the selected value of 2 other comboboxed based on the selection.
| <telerik:RadComboBox ID="RadComboBox1" runat="server" DataTextField="Name" DataValueField="ActTypeNo" |
| OnClientSelectedIndexChanged="OnClientSelectedIndexChanged" > |
| <ItemTemplate> |
| <table> |
| <tr> |
| <td style="width: 200px;"> |
| <asp:Label ID="ChaufName" runat="server" EnableViewState="false" Text='<%#DataBinder.Eval(Container.DataItem, "Name")%>'></asp:Label> |
| </td> |
| <td style="display:none;"> |
| <asp:Label ID="ChaufGr1" runat="server" EnableViewState="false" Text='<%#DataBinder.Eval(Container.DataItem, "Gr1")%>'></asp:Label> |
| </td> |
| <td style="display:none;"> |
| <asp:Label ID="ChaufGr2" runat="server" EnableViewState="false" Text='<%#DataBinder.Eval(Container.DataItem, "Gr2")%>'></asp:Label> |
| </td> |
| </tr> |
| </table> |
| </ItemTemplate> |
| </telerik:RadComboBox> |
My goal is to get the values of "ChaufGr1" and "ChaufGr2" in a javascript function:
| function OnClientSelectedIndexChanged(sender, args) { |
| //get values |
| //set selected value of other combos - i know how to do this |
| } |
I have searched the documentation and forums, but i couldn't find anything exactly like this.
Can you point me in the right direction?