RadUpload does not work

Thread is closed for posting
5 posts, 0 answers
  1. Tejas
    Tejas avatar
    31 posts
    Member since:
    Mar 2011

    Posted 16 Aug 2011 Link to this post

    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
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 Aug 2011 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 17 Aug 2011 Link to this post

    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.

  5. Tejas
    Tejas avatar
    31 posts
    Member since:
    Mar 2011

    Posted 17 Aug 2011 Link to this post

    Thank you for your reply and providing help topics.

    I'll go through and let you know.

    Thanks

    Tejas
  6. <span>w</span>
    <span>w</span> avatar
    84 posts
    Member since:
    Jun 2012

    Posted 15 Nov 2012 Link to this post

    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

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017