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
135
validation in ultrawebgrid
posted

how to validate the ultrawebgrid cells (i.e)  how to check the column value of the webgrid cells that already exist in that columns or not

or i need to avoid redundancy in the ultrawebgrid cell values either by checking gridcell value or by cheking table in the database

  • 28464
    posted

    Hello, 

    I am not sure that this type of validation is supported by UltraWebGrid out of the box. I believe you need to have this validation done in the datasource, make sure you have only unique values for that datasource column and then bind the grid. I can suggest using the SQL DISTINCT keyword while selecting your data. But this is just a suggestion -  the best solution may vary based on your setup.

    UltraWebGrid does provide validation, however only for editing grid cell data (end user input).

    Hope this helps. 

  • 469350
    Offline posted

     Moved to the WebGrid forum.