Validating listbox - Dating service andorra adult
Maybe I'm missing something here, but the number of items in a listbox isnot something the user can change (unless you have written extra code forit). The Custom Validator does not know anything about selected rows.
Can I use validators for this requirement or do I have to find some other way?
You are supposed to write code for the custom validator, and in that codeyou can validate what you want.--Riki ASP FUNCTION: private void Validate_Files(object sender, Server Validate Event Args e) But I do not get the error message like I expected.
The Custom Validator does not know anything about selected rows.
I have other Required Field Validator's on the page that work.
On a side note, there is also the issue of wierd behavior -- after a window.location.replace(...) or refresh the validation function does fire for some reason I don't understand (the only time it does).
I tried using a Custom Validator but it does not seem to be firing (I have e.false inthe validation function but still no intervention).
Can I usevalidators for this requirement or do I have to find some other way?hello everyone, i have a listbox with a list of item. but when ever i click on save button, the required field validator errror msg displays even though there is item in the listbox. only when i choose a item from the listbox and click on the save button the required field validation error msg i dont want to select the item in the listbox for the validation to there anyway i can validate listbox without selecting its item? After you have bound to you listbox insert a new list item at index 0 called "select item" or something! Multiple selection is useful sometimes, but in most worksheets, you probably want people to select just one item in a data validation cell.So, I’ve created a new version of the List Box sample file, with a single-selection List Box.The list box shows all the items from the source list, with check boxes, so you can select multiple items.