|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Validation in repeaterHi,
I have a repeater control which has a button in each row, I need the button to submit data, when this happens I have a requiredfieldvalidator on each row which will check that the row has been filled in, however, when a button is clicked, all rows validate rather than just the row the button has been clicked for. Could someone give me a pointer how to sort it so only the row in which the button was checked is validated? I have tried disabling the validators then enabling them later. Thanks in advance Francis Hi,
Use validation groups. It allows each row (validator, textboxes, buttons, etc) to be associated with a seperate validation group so that clicking a button on one row would validate only that particular validation group. http://msdn2.microsoft.com/en-US/library/ms227424.aspx Regards.
Use windows control in asp.net 2.0
Re: How to get underlying data of TreeView control? (ASP.NET 2.0) Treeview control determining if node expanded or selected stylesheet on ASP.NET 2.0 TreeView and Menu Control ASP.NET 2.0 equivalent for e.Item.ItemIndex ? using placeholders want to create custom control using graphics Design Time Error: Error Rendering Control ValidateEvent bug with table and radio button Change style of Edit-button in GridView? |
|||||||||||||||||||||||