开发者

FCKeditor for ASP.NET: file upload size limit

开发者 https://www.devze.com 2022-12-31 13:08 出处:网络
I\'m working on an asp.net website written in vb. I embedded fdkeditor in my page, and it works fine. As it includes image-upload feature, w开发者_StackOverflowhich works fine as well, I need to limit

I'm working on an asp.net website written in vb. I embedded fdkeditor in my page, and it works fine. As it includes image-upload feature, w开发者_StackOverflowhich works fine as well, I need to limit the size of the file before it's been uploaded.

I wonder I couldn't find anyting satisfactory on web, it seems fckeditor's developers haven't ever thought about that.

Has anyone workarounded it?

Thanks


I've not dealt with this issue (FCKEditor), but does this help? http://cksource.com/forums/viewtopic.php?f=10&t=9930

As Matti points out above, if it uses the default HTML file input then you're out of luck because there's no way to check file size on the client-side before uploading (at which point, if it's too big, only then does it throw an exception).

0

精彩评论

暂无评论...
验证码 换一张
取 消