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

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

5 Answers 44 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Mac P
Top achievements
Rank 1
Mac P asked on 28 Oct 2010, 11:52 PM
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

5 Answers, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 29 Oct 2010, 01:02 PM
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
0
Mac P
Top achievements
Rank 1
answered on 29 Oct 2010, 04:33 PM
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?
0
Alex Fidanov
Telerik team
answered on 01 Nov 2010, 08:23 AM
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
0
Mac P
Top achievements
Rank 1
answered on 01 Nov 2010, 10:16 PM
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    
0
Alex Fidanov
Telerik team
answered on 04 Nov 2010, 12:31 PM
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
Tags
Upload
Asked by
Mac P
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Mac P
Top achievements
Rank 1
Share this question
or