I need to get the value of a currency editor on the client side on value changed. I don't know the id because it is dynamically created in a listview. I am using
Version=12.2.20122.2257 on .net 4.0. I can get the object of the sender but I can't figure out how to the object to give me a value or an id.
Hello Nbizub,
You can get the client ID of currency editor using the following code
var cp = $find("<%=WebCurrencyEditor1.ClientID%>");
Please let me know if you have any further questions regarding this matter.
I got it. Thank you. Is there a way to get the client ID? My webCurrencyEditors are in a listview. I need to get the row of the listview when the editor loses focus so I can change the label on the same row to calculate a row total but I need the clientID to get the row. This has to be a very common occurrence.
You can get the value of the currency editor on the client side using get_value method off of the sender.
var instanceOfWebNumericEditor=$find("WebCurrencyEditor");
var resultVar = instanceOfWebNumericEditor.get_value();
http://help.infragistics.com/Doc/ASPNET/Current/CLR4.0/?page=WebTextEditor~Infragistics.Web.UI.WebNumericEditor~value.html