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

Add Custom HTTP Request Headers

3 Answers 102 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 17 Jul 2012, 06:16 PM

We are using the Silverlight Upload component against a custom handler which implements RadUploadHandler within an ASP.net application.  Our web application uses 3rd party single sign on authentication mechanism which requires a custom header when sending requests to the ASP.net app.   Is there any way I can access the HTTP Request object the Uploader component uses when posting to the RadUploadHandler?

Thank you.

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 19 Jul 2012, 07:06 AM
Hello Jay,

 In your "CustomUploadHandler" which inherits from RadUploadHandler you are able to use the Request property. The full list of methods and properties of the RadUploadHandler class is available in this help article:
RadUpload- Features - Upload Handler
Please let us know if you need further assistance.

All the best,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Jay
Top achievements
Rank 1
answered on 19 Jul 2012, 01:16 PM
I need to add cookies to the request object from the Silverlight side, not the asp.net handler.  How do I access the request object your Silverlight Upload component uses?
0
Tina Stancheva
Telerik team
answered on 24 Jul 2012, 11:29 AM
Hi Jay,

The RadUpload control doesn't expose the request in its client-side API as it makes the request internally. However, you can examine the mechanisms for passing parameters from the client to the server side of the RadUpload to see if they can help you implement your scenario.

Greetings,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Upload
Asked by
Jay
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Jay
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or