02-07-2013 09:31 AM
I am unable to get file upload working on custom smart part in the Dialog. I have requirement that when opportunity status change, open dialogbox to upload file to add to Opportunity attachments.
I created custom smartpart with FileUpload control in it and then open it when change event fires for picklist using code like below.
DialogService.SetSpecs(200, 200, 200, 400, "OpportunityUpload");
FileUpload.HasFile is always false in both PageLoad event or Button Click event. I also tried Telerik Uploader, it has UploadedFiles is always zero.
Does anybody have done such before? I really appreciate any help.