the dropdown value as 300
and the textbox value is 30
total is 330
my design is
BILLING DETAILS | |
Width="146px"> | |
vat/ | |
i need requiredno * price
BILLING DETAILS | |
Width="146px"> | |
vat/ | |
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Aug 17, 2013, 2:18 AM
You can do by using javascript
call this method on button click
Regards,
Iftikar
selvi subramanianPosted Aug 18, 2013, 3:13 AM
Iftikar HussainPosted Aug 18, 2013, 3:04 AM
Regards,
Iftikar
selvi subramanianPosted Aug 18, 2013, 2:30 AM
Iftikar HussainPosted Aug 17, 2013, 7:16 AM
Regards,
Iftikar
selvi subramanianPosted Aug 17, 2013, 4:54 AM
Iftikar HussainPosted Aug 17, 2013, 3:47 AM
Regards,
Iftikar
selvi subramanianPosted Aug 17, 2013, 3:20 AM
selvi subramanianPosted Aug 17, 2013, 3:19 AM
Sanjeeb LenkaPosted Aug 17, 2013, 3:16 AM
selvi subramanianPosted Aug 17, 2013, 3:15 AM
Sanjeeb LenkaPosted Aug 17, 2013, 2:36 AM
in aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
in .cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnAdd_Click(object sender, EventArgs e)
{
Label1.Text = "sum :" +( Convert.ToInt32(DropDownList1.SelectedValue) + Convert.ToInt32(TextBox1.Text));
}
}