SlickUpload
Welcome Guest Search | Active Topics | Log In | Register

Need help using SlickUpload in a partial view Options
imsam67
#1 Posted : Wednesday, November 23, 2011 1:38:15 PM
Rank: Member

Groups: Registered

Joined: 11/22/2011
Posts: 17
Location: Florida

Hi,

I placed my SlickUpload code in a partial view. On the parent page where I load up the partial view, I have:

@Html.Partial("~/Views/Files/_FileUpload.cshtml", new Krystalware.SlickUpload.UploadSession())

This is giving me "'The type Krystalware.SlickUpload.UploadSession' has no constructors defined error.

How do I place SlickUpload in a partial view?


Thanks,
Sam
Axosoft
#2 Posted : Wednesday, November 23, 2011 2:23:46 PM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ

You shouldn't need an UploadSession to render the view. Will @Html.Partial("~/Views/Files/_FileUpload.cshtml") work? If not, can you send your partial to chrish@krystalware.com and I'll take a look.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.