Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

How to access WNE in datalist on client to tally total

Last post 06-27-2008 14:21 by milop. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-26-2008 19:05

    • milop
    • Top 500 Contributor
    • Joined on 03-27-2008
    • Points 235

    How to access WNE in datalist on client to tally total

    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

    • Post Points: 5
  • 06-27-2008 14:21 In reply to

    • milop
    • Top 500 Contributor
    • Joined on 03-27-2008
    • Points 235

    Re: How to access WNE in datalist on client to tally total

    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.

    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems