Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader Options
MarkW
Posted: Monday, February 1, 2010 11:39:24 AM
Rank: Newbie
Groups: Member

Joined: 2/1/2010
Posts: 2
Hi
Have been playing with the uploader control and all good so far.
But I would like to hide the posted files.
There is mention of it by using a LayoutTemplate and thats where I get glassy eyed.

Do you have any code example with the posted files hidden.
Thanks Very much.


I use vb.net
MArk
eo_support
Posted: Monday, February 1, 2010 11:46:37 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Yes. Here is a working example:

http://demo.essentialobjects.com/Default.aspx?path=AJAXUploader\_i6

You can take a look of the .ascx source code for that sample (the full source is installed on your machine) to see how it works. Basically you do it something like this:

Code: HTML/ASPX
<eo:AJAXUploader ....>
    <LayoutTemplate>
         your custom layout goes here....
    </LayoutTemplate>
</eo:AJAXUploader>


You would place your own HTML around a number of pre-defined "place holders" inside LayoutTemplate. Each of the place holder represents an uploader UI element. For example, one would represent the file list. If you do not wish to have the file list, just make sure your layout template does not include the file list place holder.

All changes are in .aspx/.ascx, no VB/C# coding is needed.

Thanks!
MarkW
Posted: Monday, February 1, 2010 12:13:26 PM
Rank: Newbie
Groups: Member

Joined: 2/1/2010
Posts: 2
Thank you
I will take a look.

Mark


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.