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

HttpResponse and ScriptManager Issue

1 Answer 57 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Chi Ming
Top achievements
Rank 1
Chi Ming asked on 29 Jan 2015, 10:27 PM
Hi,

I have setting RadScritManager and RadTabStrip controls at the ASP.NET page. I just have added following codes to the web user control under RabTableStrip for word document by using Word API library. However, I received an error that said

response.Clear();
response.AddHeader("content-disposition", "inline; filename=\"" + "VADS_Cost_Estimate" + ".doc\"");
response.ContentType = "application/msword";
doc.SaveAs(response.OutputStream);
response.end();

Please let me know if you assit me with that.

Thanks,
Chi Ming 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 02 Feb 2015, 09:12 AM
Hello,

Could you please stop the Ajax and provide the server error?

Is there any problem if you remove the Word API and the code related to the API just for testing purposes?

Regards,
Boyan Dimitrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ScriptManager and StyleSheetManager
Asked by
Chi Ming
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or