I have nearly 80 textbox controls being created dynamically on the change of a dropdownlist item.
I need to make sure that none of these textboxes are empty when the user clicks on add item button.
I am aware of document.getElementbyid , however it does not serve my purpose as I will not know the id of the textboxes. The ids of the textboxes created start with “txt”.
Can anyone paste a sample code of how to achieve this.
Thanks in advance.
Attach this to the
submithandler or whatever appropriate handler.