Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. infragistics numeric editor+ alllow user to input the value max

infragistics numeric editor+ alllow user to input the value max

Scheduled Pinned Locked Moved Windows Forms
help
2 Posts 2 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    srinandan
    wrote on last edited by
    #1

    Hi all, I am very new to windows form and facing a problem with infragistics numeric editor. I need to allow user to input the value max "100.00%" or below (like 45.78, 99.00, 99.99). I am setting following propety for this: MaskDisplayMode =IncludeBoth MastInput= {LOC}nn.nn% MaxValue= 100 MinValue = 0 It allows user to input 100.99% but i need to restrict so that user cann't input more than 100.00 Help really appreciated.

    Thanks, Sri

    L 1 Reply Last reply
    0
    • S srinandan

      Hi all, I am very new to windows form and facing a problem with infragistics numeric editor. I need to allow user to input the value max "100.00%" or below (like 45.78, 99.00, 99.99). I am setting following propety for this: MaskDisplayMode =IncludeBoth MastInput= {LOC}nn.nn% MaxValue= 100 MinValue = 0 It allows user to input 100.99% but i need to restrict so that user cann't input more than 100.00 Help really appreciated.

      Thanks, Sri

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      srinandan.. wrote:

      Help really appreciated.

      Ask the infragistics support team. It's not a generic control, not part of the framework.

      srinandan.. wrote:

      It allows user to input 100.99%

      Sounds like a bug where one only checks the integer-part for the max, not the decimal. You could easily do this without infragistics; there's quite some material out there on "validation".

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups