Hello.
I'm writing an order entry system and I'm using 2008, Vol1 WebNumericEdit controls inside a datalist control. The DL control shows the item name and the WNE captures the quantity.
On the same page is a total (an asp:Label control).
What I want to do is recalculate the total as the user enters a number in one of the WNE controls in the datalist. So, in essence, I'd have to read through all of the WNE controls in the datalist, summing up the quantities to yield the total, which I will then use to update the asp:Label that displays the total.
I'm looking at the CSOM, but if someone could give me a nudge in the right direction I'd appreciate it.
Thanks in advance,
Mike
I solved it by utilizing the datalist's ItemDataBound event, and writing a line of javascript code, which is eventually is registered with the page.