Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3455
How to limit no of character in a WinGrid Cell
posted

Hi,
I have to restrict the user from entering more than 10 character in WinGrid cell. Can you help me how I can enable this feature.

Regards,
        Pgr2007

  • 1803
    posted

    Hi ,

    Use this prop as it limits the user from typing not more than the specified characters,

    grd.DisplayLayout.Bands(0).Columns("ColName").MaxLength = 10 

    hppy Koding,

    Arun