Hello,
I am building a page similar to the following:
http://demos.telerik.com/aspnet-ajax/listbox/examples/applicationscenarios/insertitem/defaultcs.aspx
One of the requirements is that as part of the validation, I have to check that at least one item is present inside the RadListBox. I tried using the RequiredFieldValidator but that enforces the validation that the item in the listbox should be selected.
In my case, I just want to check that the listbox has at least one item. (I don't want my users to select one item for this validation to succeed). How can I accomplish this that the validation succeeds if the listbox has one item which may or may not be selected?
Thanks,
Pratik
I am building a page similar to the following:
http://demos.telerik.com/aspnet-ajax/listbox/examples/applicationscenarios/insertitem/defaultcs.aspx
One of the requirements is that as part of the validation, I have to check that at least one item is present inside the RadListBox. I tried using the RequiredFieldValidator but that enforces the validation that the item in the listbox should be selected.
In my case, I just want to check that the listbox has at least one item. (I don't want my users to select one item for this validation to succeed). How can I accomplish this that the validation succeeds if the listbox has one item which may or may not be selected?
Thanks,
Pratik