I have two controls, textbox and dropdown, I want to calculate the sum of those two fields on asp button click. This is what I have: Dropdown Value
<asp:DropDownList ID="DropDownList3" runat="server" CssClass="dropdown" Width="74px">
<asp:ListItem Text="1" Value="1" />
<asp:ListItem Text="4" Value="4" />
<asp:ListItem Text="5" Value="5" />
<asp:ListItem Text="9" Value="9" />
<asp:ListItem Text="10" Value="10" />
<asp:ListItem Text="11" Value="11" />
<asp:ListItem Text="12" Value="12" />
<asp:ListItem Text="13" Value="13" />
</asp:DropDownList>
TextBox Value
<asp:TextBox ID="TextBox9" runat="server" CssClass="input-mini" /><br />
<asp:Button ID="Button3" runat="server" Text="Calculate Sum" CssClass="btn btn-minibtn-info" />
Textbox Result <asp:TextBox ID="TextBox10" runat="server" CssClass="input-mini" />
I want on button click to calculate the sum of the dropdown + textbox9 and then put the value in TextBox10. Any idea how can I achieve that?