asp.net - error in server when useing telerik:RadAsyncUpload for upload picture in my web site -
this code
<telerik:radasyncupload runat="server" id="radasyncupload2" allowedfileextensions="jpg,jpeg,png,gif" onfileuploaded="radasyncupload2_fileuploaded" onclientvalidationfailed="validationfailed" skin="outlook" inputsize="30" temporaryfolder="" multiplefileselection="automatic"> <localization cancel="انصراف" remove="حذف" select="انتخاب" /> <filefilters> <telerik:filefilter description="*.jpg; *.jpeg; *.png; *.gif" extensions="jpg,jpeg,png,gif"></telerik:filefilter> </filefilters> </telerik:radasyncupload>
in computer code run correct full permission folder in host
string path = server.mappath("~/image/pic_news/");
but when uploading picture in host cannot upload picture .
what should do?
can please set allowedfileextensions property value follows
allowedfileextensions=".jpeg,.jpg,.png,.gif,.jpeg"
if not work remove allowedfileextensions property , inner tag , test again.
just test grant full permissions user ensure not permissions related issue.
best regards, rumen
Comments
Post a Comment