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

VERY strange looking Upload control

3 Answers 31 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 08 Aug 2012, 10:48 AM
Hi,

I am trying to use the RadUpload control in my application, but I am getting some very strange results, and no matter what I do it doesn't seem to change it.
Please see the attached screen shot.
There are 2 edit controls swhowing per file, along with a Browse button AND a select button, as well as a dot to the left.
It is currently set to use the Office2010Blue skin, but seems to ignore this.
Markup for the upload control shown below


<div style="left: 0px; position:absolute; top: 60px; height: 230px; width: 320px;">
  <telerik:RadUpload ID="Upload" runat="server" MaxFileInputsCount="3" EnableEmbeddedSkins="true"
    ControlObjectsVisibility="RemoveButtons, AddButton" SkinID="Office2010Blue">
  </telerik:RadUpload>
</div>

Has anyone any idea how I can get this to look right?
What I really want, is for each file to show a text box, select button and remove button in the correct skin.


Thank you

Paul

3 Answers, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 08 Aug 2012, 06:24 PM
Hi, Paul

It's quite easy to fix your issue: just remove the EnableEmbeddedSkin property or set it to true and rename the SkinID property to skin e.g.:

<div style="left: 0px; position:absolute; top: 60px; height: 230px; width: 320px;">
    <telerik:RadUpload ID="Upload" runat="server" MaxFileInputsCount="3"
        ControlObjectsVisibility="RemoveButtons, AddButton" Skin="Office2010Blue">
    </telerik:RadUpload>
</div>

That should fix things.

Kind regards,
Ivan Zhekov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Paul
Top achievements
Rank 1
answered on 09 Aug 2012, 10:53 AM
Hi Ivan,

Thanks for your reply, but unfortuanately that didn't make any difference.
I have tried several skins, including a custom one, and no matter what I try it still displays 2 text boxes for each file along with their associated buttons.


Thank you

Paul
0
Ivan Zhekov
Telerik team
answered on 10 Aug 2012, 06:58 AM
Hello, Paul.

I have attached a mock page with the snippet. I have added some styles to make the page appear like the yours and things do look normally.

If there is something wrong in the page, it's not in the upload control but somewhere else.

For instance, if you are using an older version of IE, you should know that IE has 31 stylesheet limit. If this is the case, you could use the RadStyleSheetManager, which will combine the styles on the server so you will have less than 31 files.

If that's not the case, we will need to see the actual project in order to resolve the issues.

Regards,
Ivan Zhekov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Upload (Obsolete)
Asked by
Paul
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Paul
Top achievements
Rank 1
Share this question
or