We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Syncfusion Textbox and Delete Key

Hello, I''m using syncfusion''s textbox in Essential Tool Suite 2.1.0.9, and I am having problems with the extended textbox to format numbers. In fact, whenever I hit the "delete" key in one of those text box (Integer, Decimal, Percent, etc.) the application crashes. Is this a known bug? Is there a fix? Has someone else experienced this problem too? Thanks

5 Replies

AD Administrator Syncfusion Team January 4, 2006 09:01 PM UTC

Hi Fred, While I''m not familiar with any specific bug in v2.1.0.9 regarding the delete key, I did try it out in our v4.1 beta. Everything seems to be working fine. At this point v2.1.0.9 is somewhat old, so your best course of action would be to upgrade. If this is not a viable option for you, please create a Direct-Trac incident and our Tools engineers can try to find an alternate solution for you. Thank you for your continued interest in Syncfusion products. Regards, Gregory Austin Syncfusion Inc.


SG Sean Greer January 4, 2006 10:38 PM UTC

Fred, I don''t work for Syncfusion, but I do have an app on 2.1.0.9 and thought I''d try to repro this. I created a simple WinForm app, dropped a PercentTextBox and DoubleTextBox, ran the app and pressed the delete key within each control. I did not get an exception. Perhaps you can post the information about the exception (type, etc)? Sean


AD Administrator Syncfusion Team January 4, 2006 10:59 PM UTC

Ok, this is my bad, I thought I had the bug with percent, decimal and currency too. Anyway, I only get the bug with the Integer Textbox. I attached a test form, if you press delete in the integer box, the app crash. Here''s the exception: An unhandled exception of type ''System.ArgumentException'' occurred in system.windows.forms.dll Additional information: ''-1'' is not a valid value for ''value''. Unfortunatly I can''t use any other version of syncfusion as this is the one the company bought:/ Thanks >Fred, > >I don''t work for Syncfusion, but I do have an app on 2.1.0.9 and thought I''d try to repro this. > >I created a simple WinForm app, dropped a PercentTextBox and DoubleTextBox, ran the app and pressed the delete key within each control. I did not get an exception. Perhaps you can post the information about the exception (type, etc)? > >Sean

testSF.zip


SG Sean Greer January 6, 2006 07:10 PM UTC

Fred, IntegerTextBox.Delete is virtual, so deriving a new class from IntegerTextBox and wrapping the call to base.Delete() with a try{...}catch() is one way you could work around this. Sean


AD Administrator Syncfusion Team January 9, 2006 05:23 PM UTC

I found that I was using international setting for number format (my OS is set to French Canadian). When I use English Canadian, or US setting it works perfectly. I''m going to check the delete function. Thanks > >Fred, > >IntegerTextBox.Delete is virtual, so deriving a new class from IntegerTextBox and wrapping the call to base.Delete() with a try{...}catch() is one way you could work around this. > >Sean

Loader.
Live Chat Icon For mobile
Up arrow icon