This is a migrated thread and some comments may be shown as answers.

How to create a very basic file upload

3 Answers 95 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Rick asked on 06 Feb 2009, 04:19 PM
I like the skins for the file uploads, but I'm very short on space and I want to display ONLY the file input box (and 'select' button) and not the surrounding div.

The actual aim will be to populate a grid with a list of uploaded files. I've seen the grid-input example, but I don't want the file upload to be inside the grid, I want it just above.

Any help would be much appreciated.

3 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 09 Feb 2009, 05:04 PM
Hi Rick,

Please try setting the EnableFileInputSkinning property to False.

Let us know if this helps.

Sincerely yours,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Rick
Top achievements
Rank 1
answered on 09 Feb 2009, 05:24 PM
That just removes the skinning for the file input, but keeps the surrounding div. I'd like the opposite

<telerik:radupload id="Radupload1" runat="server" EnableFileInputSkinning="false"
ControlObjectsVisibility="None" InitialFileInputsCount="1" Width="240px" Skin="Outlook" /> 

0
Accepted
Veselin Vasilev
Telerik team
answered on 12 Feb 2009, 01:30 PM
Hello Rick,

I am afraid you cannot remove the DIV tag that is rendered by RadUpload.
You can control its properties like height and width. All you have to do is to add the following CSS class in the <head> section of your page:

<style type="text/css"
div.radupload 
    width:200px
    text-alignleft
    height24px
</style> 

I hope this helps.

Best wishes,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Upload (Obsolete)
Asked by
Rick
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Rick
Top achievements
Rank 1
Share this question
or