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

upload a logo in multiple pages at a time

1 Answer 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hami
Top achievements
Rank 1
hami asked on 18 Sep 2010, 05:33 PM
my question is, how i can upload a logo image at the same time in multiple pages in VS-2010 by using silver-light application.
Actually i want a browse option by which i select a single image as a logo and when a click on upload button it will appear on all my 21 pages and as well as on my reports that are generated in my project....... so plz help me out.

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 23 Sep 2010, 10:07 AM
Hi hami,

A possible approach towards your scenario would be to use the RadUpload control (check out the demo). It allows you to upload files - and you can apply an extension filter to only upload image files of certain type (read more). Also, the control allows you to modify the uploaded file - for example to change its name (here you can read more). Furthermore you can define a TargetFolder where the uploaded files can be stored.

If you choose to go with that control, you can define all your pages and generated reports to contain for example an Image element named "Logo.png" and stored in the TargetFolder folder:
<Image Source="TargetFolder/Logo.png"/>
 and leave it to the user to upload the logo image.

I hope this information helps. Give the approach a try and let us know if you need more info.

All the best,
Tina Stancheva
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
General Discussions
Asked by
hami
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or