Dim TextBoxAquisPri ceDKK As TextBox
TextBoxAquisPri ceDKK =
CType(e.Item.Ce lls(1).FindCont rol("txtAquisPr iceDKK"), TextBox)
CType(e.Item.Ce lls(1).FindCont rol("txtAquisPr iceCur"),
TextBox).Attrib utes("onkeyup") = _
"calcPriceDkk(t his.value, '" &
CType(e.Item.Ce lls(1).FindCont rol("txtExchang eRate"), TextBox).Text &
"', " & TextBoxAquisPri ceDKK.ClientID & ");"
On Mon, 13 Dec 2004 13:16:27 +0100, hansiman <ha***@hotmail. com>
wrote:
In edit mode in a datagrid I have three textboxes. The third textbox
is the product of the first and second textbox. onkeyup event on first
and second textbox pass values of first and second textbox to
javascript.
How do I pass the third textbox as an object so I can multiply first
and second textbox and set textbox3.value = product?
Morten