views:

921

answers:

2

Hi,

I'm using the Telerik RAD Controls RADEditor/WYSIWYG control as part of a Dynamic Data solution.

I would like to be able to upload files using the Document Manager of this control.

However, these files are larger than whatever the default setting is for maximum upload file size.

Can anyone point me in the right direction to fix this?


Thanks Yaakov Ellis, see your answer + the answer I linked through a comment for the solution.

+2  A: 

The Telerik website has instructions here.

Short version: in Web.config set the maxRequestLength

<system.web>
  <httpRuntime maxRequestLength="102400" executionTimeout= "3600" />
</system.web>
Yaakov Ellis
See this answer in combination with this one: http://stackoverflow.com/questions/131728#131773
Graphain
+2  A: 

This thread in combination with Yaakov Ellis's answer may help others.

However, I've found for my problem, putting the following code in the code-behind for the user control FieldTemplate (Dynamic Data) in combination th Yaakov Ellis's answer solved things.

RadEditor1.DocumentManager.MaxUploadFileSize = 4194304;
Graphain