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

RadUpload does not work

4 Answers 88 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Tejas
Top achievements
Rank 1
Tejas asked on 16 Aug 2011, 04:05 PM
Hi,
I have RadAjaxManager control on my master page and 2 RadUpload controls on my content page. Upon postback,I'm getting uploadfiles counts to zero even though I upload files. I know that we can not write files while performing AjaxRequest, so how can I disable Ajax request for this particular page and not for the other pages ?

I have tried following code on my content page but It doesnt work either.
RadAjaxManager AjManager = Master.FindControl("RadAjaxManager1") as RadAjaxManager;
AjManager.EnableAJAX = false;


Thanks

Tejas

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Aug 2011, 11:32 AM
Hello Tejas,

You need to handle the RadAjaxManager OnRequestStart client-side event and there disable ajax.

Check out the following online help topic which explains more.
Force controls in ajaxified container to perform PostBack.

Thanks,
Shinu.
0
Peter Filipov
Telerik team
answered on 17 Aug 2011, 01:30 PM
Hi Tejas,

Please also review the following help article.

Regards,
Peter Filipov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Tejas
Top achievements
Rank 1
answered on 17 Aug 2011, 06:53 PM
Thank you for your reply and providing help topics.

I'll go through and let you know.

Thanks

Tejas
0
Waseem
Top achievements
Rank 1
answered on 15 Nov 2012, 10:00 PM
Hi Shinu

I am very worry about this issue?
Path is 100% correct and has full permission. Its work locally as well as on server. but one of our client get this error. i have no idea.
Can you help me in this? Please see latest images.

Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Testing\Test.pdf'.

[DirectoryNotFoundException: Could not find a part of the path 'D:\Testing\Test.pdf'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +216
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +2481
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +229

Tags
Upload (Obsolete)
Asked by
Tejas
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Peter Filipov
Telerik team
Tejas
Top achievements
Rank 1
Waseem
Top achievements
Rank 1
Share this question
or