3 Replies - 3241 Views - Last Post: 08 June 2011 - 02:45 PM Rate Topic: -----

#1 JamesConley  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 19
  • View blog
  • Posts: 341
  • Joined: 09-March 09

UltimateUpload

Posted 07 June 2011 - 07:38 AM

Hey peeps!

So, I have downloaded this UltimateUploader Control and am having problems getting it to upload! :)
Below I have included some code. Anything that you guys/gals can offer would be great! I am not an ASP.NET programmer and am completely out of my environment.

HTML Side:
 <center><ElementIT:UltimateUploader ID="UltimateUploader1" runat="server" 
     Height="400px" Width="600px" /></center>


Behind Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApp
{

  public partial class _Default : System.Web.UI.Page
  {
   
    protected void Page_Load(object sender, EventArgs e)
    {
    }
  
      public class MyHandler : ElementIT.UltimateUploader.UploadHandler
      {
        public MyHandler()
        {
          SavePath = @"Server.MapPath(App_Data/)";
        }
      }
  }
 
}



In advance I thank you!!!

Is This A Good Question/Topic? 0
  • +

Replies To: UltimateUpload

#2 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1524
  • View blog
  • Posts: 5,957
  • Joined: 21-March 08

Re: UltimateUpload

Posted 07 June 2011 - 01:31 PM

Truthfully, for custom control issues, you should probably go to the developer's site/forum. We can't guarantee that anybody here has used the control(I've never heard of it).
Was This Post Helpful? 0
  • +
  • -

#3 JamesConley  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 19
  • View blog
  • Posts: 341
  • Joined: 09-March 09

Re: UltimateUpload

Posted 08 June 2011 - 06:13 AM

Ok, Thanks for your input! I will keep looking. Is this statement in my code written correctly? I'm not getting any errors when I build but it's also not uploading.

 SavePath = @"Server.MapPath(App_Data/)";


Thanks Again!
Was This Post Helpful? 0
  • +
  • -

#4 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1524
  • View blog
  • Posts: 5,957
  • Joined: 21-March 08

Re: UltimateUpload

Posted 08 June 2011 - 02:45 PM

Assuming the control is expecting a string for the upload directory, the code should be this...

SavePath = Server.MapPath("App_Data");



That would give you the physical server path for the App_Data directory.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1