I created a DataGrid with Edit and it works good exept the Update button in the Grid fires the validation for Submit button. I do not know how to do the validation for the Edit. Can anybody please suggest a reference or an article how to do the Validation in a DataGrid?
Thanks,
YosifIf you need to NOT have the validation control fire when you click the update button, put the validation control within a panel control and then have its settings to whatever you have now and see if that works.
hth
Hi, perhaps, this article -DataGrids and Validation can help you.
Thanks,
I work in VB.NET, but I will try it and let you know.
Thanks,
Yosif
I want to separate the data entry and update validations.
I created two panels: one for the data entry and one for the grid.
I got the validation working, but after I added the second panel the Summary box pops up twice and does not allow me to submit until both panels have correct data. I tried:
btSubmit.CausesValidation="False", but nothing changed. Any suggestions? Thanks,
Yosif
No comments:
Post a Comment