Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Validation

$
0
0

I have tried many different scenarios and nothing is working exactly the way I need it to, so I am open to suggestions...
I need an unbound Datagrid with 2 comboxbox columns, Employee (which contains Employee ID and Name) and Pay Code (which contains Pay Code ID and Pay Code Name).
Simply requirements or so I thought...

* For each row, both the Employee and Pay Code MUST be selected from the respective combobox columns for the row to be valid.
* The Employee cannot be duplicated in the grid
* When adding or editing a row, allow User to cancel entry at any time using the Escape Key, especially when Validations fails. 

I have tried Cell Validating, RowValidating, RowChanging, and PreviewKeyDown suggestions from various threads reviewed and I still cannot mash it all together to get it exactly the way I need to.
Any help is greatly appreciated.


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>