Hexadecimal Numeric Box

Posted by: mayur.purandare on 18 December 2018, 7:55 am EST

    • Post Options:
    • Link

    Posted 18 December 2018, 7:55 am EST

    Hello,

    To get Hexadecimal text in Numeric Box, I need to set the format as “X”.

    Is there any way, such that I can show Hex values with different number of digits?

    e.g :

    Can I show “F” as

    1. 0F
    2. 000F
    3. 00000F

    Also this has to be dynamic.

    Thank you.

  • Posted 19 December 2018, 2:45 am EST

    Hi Mayur,

    For displaying different number of digits in C1NumericBox with Hexadecimal format, you need to set the Format property as follows:```

    Format=“X2” //output=“0F”

    Format=“X4” //output=“000F”

    Format=“X6” //output=“00000F”

    Ruchir
  • Posted 19 December 2018, 3:14 am EST

    Thanks Ruchir…

    It worked.

  • Posted 24 July 2024, 2:24 am EST

    We are using C1 numeric box with Hexadecimal format as mentioned in previous posts. However, we have observed that when we go on incrementing the value from 0 onwards, the digit ‘E’ always get resolved as ‘14’ and not as ‘E’. This is not observed not for other hexadecimal digits such as ‘A’,‘B’,C’, etc. Same is also observed for ‘1E’, ‘2E’ and so on.

    That means if we increment the value ‘D’ the control shows ‘14’ instead of ‘E’ .

    Please guide for this issue.

  • Posted 25 July 2024, 2:31 am EST - Updated 25 July 2024, 2:36 am EST

    Hi Mayur,

    Apologize for the inconvenience.

    We are unable to replicate this issue at our end. We have tested in the latest C1.Xaml.Wpf.Input 4.6.20241.844 version. And there is no such behavior for HexaDecimal in C1NumericBox. Please refer the attached GIF for the same:

    Please refer the attached working sample: HexadecimalNumeric.zip

    If you can provide a sample replicating this behavior, then please provide it. So, we can investigate on this issue and assist you accordingly.

    Best Regards,

    Nitin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels