Re: Help Needed in Placing Uploader in a Update Panel

  •  01-06-2009, 4:14 AM

    Re: Help Needed in Placing Uploader in a Update Panel

    hi,
     
    Thanks for your help,
    my problem has been solved.
     
    Your support for the uploader is excellent.
     
    but i still want to know how i can disable certain controls on the form (eg:- cascading drop down lists) while file uploading process is going on.
     
    eg:- while the file uploading process is going on, pressing  the cascading drop down list on form produces a postback, which results in termination of upload process.
     
    so how can i disable the dropdown list during the file upload process and re-enable them again after completion of uploading process.
     
     
    I refered forum post http://cutesoft.net/forums/post/44763.aspx for the same
     
    In which function, i should  place " dropdownlist1.enabled = false;"
     
    In simple words, i want to know where and how i can use this function
    //fired when upload is started
    function CuteWebUI_AjaxUploader_OnStart()
    {
     var hidden=this;
     hidden.internalobject.insertBtn.style.display='none'
    }
     
    and other similar functions mentioned on this post http://cutesoft.net/forums/post/44763.aspx
     
     
    My Updated code in code behind page is :-
     
    protected override void OnInit(EventArgs e)
    {

    base
    .OnInit(e);
    SampleUtil
    .SetPageCache();
    PersistedFile1.InsertButton.ValidationGroup = "NoNeed";
    PersistedFile1.FileChanged += new PersistedFileEventHandler(PersistedFile_FileUploaded);
    LinkButton1.Click +=
    new EventHandler(LinkButton1_Click);
    }

     
    protected void PersistedFile_FileUploaded(object sender, PersistedFileEventArgs args)
    {
    LinkButton1.Enabled = true;
    }
     
     
    thanks.
View Complete Thread