I have a payment form with number buttons to take the payment. And I have a Ultragrid Column with its mask set to "{double:-4.2:c}". It takes the keyboard input as it should. But when i use the number button to input the value through sendkeys it just puts the one digit and consecutive click on the numbers are not going through, can anybody help me with a sample code on how to send the key value on a number button click on ultragrid column
Hello Muthu,
I was trying to reproduce your scenario and I will need you to explain from what button you are doing this exactly - ultraButton or a cell button in the grid? And could you please paste the code which you are using to get the desired behavior. If it would be easy instead of going the above way you could simply attach a small sample project with your scenario. In both cases I will be happy to investigate this further for you.
Thanks for the quick response. To start with I am attaching the Receipt Payment Form. Here the Ultragrid on the right side, has the Amount column set to double mask. On the left side all the number buttons now acts as bills. For example if you press 5 it will put 5.00 in the amount column. But instead I want to act as number key on keyboard. The leaf green button can act as bills which is meant to be. The code that I am trying to use without success is
Dim
view.SelectedPayment.AMOUNT = SendKeys.SendWait(keyValue)
Is the following method good enough for you:
ultraGrid1.ActiveRow.Cells[0].Value = ultraGrid1.ActiveRow.Cells[0].Value.ToString()+ "5";
I will be waiting for your feedback.
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.