Hi!
I'm using the rad controls for Silverlight 4 beta.
I have a GridView with a row details expansion. I'm using a "Required" attribute on the textboxes in the expansion. When the user edits an existing row and deletes the text in a field that is required, the validation is executed when the field loses focus and the field properly changes its appearance and displays a message. This is exactly what I want.
However, when the user creates a new data item, which cause me to insert a new Entity to my ObservableCollection and create a new GridViewRow at the top of the grid, he can then click save, without entering any data, and no validations are executed, even though all of the required fields are empty. Is there anyway for me to cause validation to occur on these fields?
Thanks,
Mike
I'm using the rad controls for Silverlight 4 beta.
I have a GridView with a row details expansion. I'm using a "Required" attribute on the textboxes in the expansion. When the user edits an existing row and deletes the text in a field that is required, the validation is executed when the field loses focus and the field properly changes its appearance and displays a message. This is exactly what I want.
However, when the user creates a new data item, which cause me to insert a new Entity to my ObservableCollection and create a new GridViewRow at the top of the grid, he can then click save, without entering any data, and no validations are executed, even though all of the required fields are empty. Is there anyway for me to cause validation to occur on these fields?
Thanks,
Mike