I have a form (page) which has several Telerik controls (text boxes, combobox).
I have a combobox (ID: 'a') with its validation group set to "abc"
I have a button with its validation group set to "abc" (it fires the validation for the group "abc")
I have a required field validator attached to the combobox (ID:'a')
I wish to accomplish the following:
1) When a user manipulates the combobox, I do NOT wish to validate.
2) When the focus moves out of the combobox, I do NOT wish to validate.
3) When the button at which I set the validation group, I *do* wish to validate.
In other words, I do not want validation to fire while the user is just manipulating the combobox and other fields on the form. I only wish to validate at the moment when the button is clicked.
It seems that this "page-level" validation should be a simple setting. Why should individual controls be validating? There could be scenarios (such as mine, where the combobox list of items could be changed ON the page, requiring the person to go in and out of the combobox before finalizing the page). I don't want each control on the page to have individual validation during the view and manipulation of the items on the page -- no control-level validation firing. I simply want page-level firing.
Another wish is that I don't have to add extra javascripting to each of the pages for each of the control -- that is a lot of extra "work-arounds" when there could be a simple setting such that the validator only fires if it were fired by the button.
Does anyone have an insight on how I can accomplish my requirements?
Thanks in advance.
I have a combobox (ID: 'a') with its validation group set to "abc"
I have a button with its validation group set to "abc" (it fires the validation for the group "abc")
I have a required field validator attached to the combobox (ID:'a')
I wish to accomplish the following:
1) When a user manipulates the combobox, I do NOT wish to validate.
2) When the focus moves out of the combobox, I do NOT wish to validate.
3) When the button at which I set the validation group, I *do* wish to validate.
In other words, I do not want validation to fire while the user is just manipulating the combobox and other fields on the form. I only wish to validate at the moment when the button is clicked.
It seems that this "page-level" validation should be a simple setting. Why should individual controls be validating? There could be scenarios (such as mine, where the combobox list of items could be changed ON the page, requiring the person to go in and out of the combobox before finalizing the page). I don't want each control on the page to have individual validation during the view and manipulation of the items on the page -- no control-level validation firing. I simply want page-level firing.
Another wish is that I don't have to add extra javascripting to each of the pages for each of the control -- that is a lot of extra "work-arounds" when there could be a simple setting such that the validator only fires if it were fired by the button.
Does anyone have an insight on how I can accomplish my requirements?
Thanks in advance.