Hello,
I would like to use the RadNumericTextBox as a way to change the quantity of items in a cart.
How can pass the OrderItemId to the back-end C# for logic to happen?
<
telerik:RadNumericTextBox
OnTextChanged
=
"QuantityChanged"
runat
=
"server"
Width
=
"30"
MinValue
=
"1"
Visible='<%# AllowEditQuantity(Eval("Item.ProdType"), Eval("Show.EventType")) %>'
Value='<%# decimal.Parse(Eval("Item.Quantity").ToString())%>'
CommandArgument='<%#Eval("Item.OrderItemId") %>'>
<
ClientEvents
OnValueChanged
=
"squareValue"
/>
<
NumberFormat
DecimalDigits
=
"0"
/>
</
telerik:RadNumericTextBox
>