Change the look of upload control to match one in telerik assembly minifier

6 posts, 0 answers
  1. Mac P
    Mac P avatar
    84 posts
    Member since:
    Mar 2010

    Posted 28 Oct 2010 Link to this post

    Hello

    I want to make upload control looks exactly the same as one in http://minifier.telerik.com/
    i.e Text and browse button next to it and than progress bar at the bottom.
    Themed with windows 7 theme.

    I am not a UI expert. Can anyone please help me with this?

    Regards
    Mac

  2. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 29 Oct 2010 Link to this post

    Hi Mac P,

    You have to change the template of the RadUpload in order to reposition the elements inside it. I am attaching a sample project with a modified style and template of the RadUpload. The style of the RadUpload in the sample is created against the latest versions of the control. If you are using an older version, you would have to use the prior style/template of the control with similar modifications.

    Sincerely yours,
    Alex Fidanov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Mac P
    Mac P avatar
    84 posts
    Member since:
    Mar 2010

    Posted 29 Oct 2010 Link to this post

    Alex,

    Thanks for your help. I have latest of silverlight controls. When i try to run this sample i get following error
    Line: 56
    Error: Unhandled Error in Silverlight Application
    Code: 2272   
    Category: ParserError      
    Message: Cannot find a Resource with the Name/Key Theme    
    File:     
    Line: 276    
    Position: 38    

    And i cannot load designer correctly. It fails on all Templatebinding attribute. for e.g. {TemplateBinding ProgressValue}
    Do i have to include some resource file or theme file?
  5. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 01 Nov 2010 Link to this post

    Hi Mac P,

    This is because you are not using the latest internal builds. If you want to use the same style, you would have to use the builds from November or Q3 beta. If that is not an option for you, you could get the style for the RadUpload for your version (with Blend for example) and modify it accordingly based on the modifications in the style that I've provided.

    Sincerely yours,
    Alex Fidanov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Mac P
    Mac P avatar
    84 posts
    Member since:
    Mar 2010

    Posted 01 Nov 2010 Link to this post

    Alex,

    Thanks. I am using 2010.3.1018.1040 version (beta version). The UI designer renders fine now. But when i run aspx page i get the same error.

    Line: 56
    Error: Unhandled Error in Silverlight Application
    Code: 2272   
    Category: ParserError      
    Message: Cannot find a Resource with the Name/Key Theme    
    File:     
    Line: 276    
    Position: 38    
  7. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 04 Nov 2010 Link to this post

    Hi Mac P,

    Can you confirm that the dlls and references have updated correctly the project and the xap? Try cleaning and rebuilding the solution. Do you get the same exception if you created a new clean project with this style?

    Kind regards,
    Alex Fidanov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner