VERY strange looking Upload control

Thread is closed for posting
4 posts, 0 answers
  1. Paul
    Paul avatar
    23 posts
    Member since:
    Sep 2006

    Posted 08 Aug 2012 Link to this post

    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

  2. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 08 Aug 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Paul
    Paul avatar
    23 posts
    Member since:
    Sep 2006

    Posted 09 Aug 2012 Link to this post

    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
  5. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 10 Aug 2012 Link to this post

    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.
Back to Top