Hi Ashish ,
You can use validators on components like Fileupload also. Use the
BaseValidator's required property on you component.
Thanks
Ashish Raniwala wrote:
Hi Guys,
This should be a trivial question.
How do we do validation on NON ValidField components? e.g. If I use Upload
component and want to validate if user has entered a file name or not. How
do I do this?
One simple way could be to do serverside validation and have a message
property to show it if it is not null. Is this standard way? Or like
ValidField I can set the component on which validation message is thrown ?
Thanks,
Ashish
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]