Re: Problem In Implementing Uploader in Code Behind Page in asp.net

  •  01-05-2009, 8:16 PM

    Re: Problem In Implementing Uploader in Code Behind Page in asp.net

     
    You can just create a new uploader and put it into some container , at every page's init/load event:
     
     Uploader _uploader;
     protected override void OnLoad(EventArgs e)
     {
      _uploader = new Uploader();
      _uploader.ID = "MyUploader";
      _uploader.InsertText = "Select photos";
      _uploader.ValidateOption.AllowedFileExtensions = "jpg,png,gif";
      _uploader.FileUploaded += new UploaderEventHandler(_uploader_FileUploaded);
      MyPanel.Controls.Add(_uploader);
      base.OnLoad(e);
     }
     void _uploader_FileUploaded(object sender, UploaderEventArgs args)
     {
      
     }
     
     
    Regards,
    Terry
     
View Complete Thread