This is a migrated thread and some comments may be shown as answers.

Server Side Cancel and return custom error message to client

1 Answer 25 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Ganesh Jagdale
Top achievements
Rank 1
Ganesh Jagdale asked on 05 Apr 2011, 01:27 PM
Hi Telerik,
 I saw this post regarding the same what i want but i have tried in different way.
I have my custom UI & mark raduploader as Collapse like this

 

 

 

<telerikInput:RadUpload Grid.Column="1" Grid.Row="7" Grid.ColumnSpan="3" FilterIndex="0"

 

 

 

IsPauseEnabled="False"

 

 

 

 

IsAppendFilesEnabled="True" IsAutomaticUpload="false" MaxFileCount="1"

 

 

 

 

Name="radUploadDocument" OverwriteExistingFiles="True" Visibility="Collapsed" Margin="0,10,25,0"

 

 

 

 

/>

 


and set necessary inforamation on button click and start uploading after selecting file through

 

 

this.radUploadDocument.ShowFileDialog();

 


 

 

this.radUploadDocument.AdditionalPostFields.Clear();

 

 

 

 

this.radUploadDocument.AdditionalPostFields.Add("DocumentId", __documentId);

 

 

 

 

this.radUploadDocument.UploadServiceUrl = Handler path

 

 

 

 

this.radUploadDocument.StartUpload();

 


Now in Server side I want send custom message .
I have tried for setting all necesary parameter as there in Post but still it doen't work for cacaling uplad request send custom message to UX in UplloadFailed Event.

Please Help me out..

Thanks,
Ganesh Jagdale

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 08 Apr 2011, 02:07 PM
Hi Ganesh Jagdale,

We cannot reproduce your issue at our side. Could you please examine our test project and let us know if we are missing something?

Best wishes,
Petar Mladenov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Upload
Asked by
Ganesh Jagdale
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or