on 06-24-2008 10:34 AM
Hi,
How i validate fileupload ui means i have to put validation that fileupload ui should not be blank.So how i check that one ? please provide code if possible.
Regards,
Gurprit Bhatia
hi,
Check whether file resource is null if it is null then display the message of no file
IPrivateFileUploadView.IContextElement element =
wdContext.currentContextElement();
// if a file in the FileUpload field exists
if (element.getFileResource() != null)
{
.......
}
else
{
message of no file
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
8 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.