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

Automatic Upload - How to use it?

4 Answers 91 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 29 Aug 2008, 03:59 PM
Hello all,

I'm new to telerik controls and silverlight.

I was curious to know how I would go about just using the Automatic Upload silverlight app on a web page as apposed to having to fish through the examples page to get to it.

I have the silverlight beta controls downloaded.

Sorry that it is such a rookie question, once I figure that out, I think I'll have a really good understanding as to how the rest of the controls work as well.

Thanks

4 Answers, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 02 Sep 2008, 08:25 AM
Hello Bill,

To use any of the examples in your own project:

Create a new Silverlight Application in Visual Studio (with the default options).

Right click on the Silverlight project, choose "add references" and browse to the folder of the RadControls binaries. To use all the controls, add references to the "Telerik.Windows.Controls", "Telerik.Windows.Controls.Navigation",  "Telerik.Windows.Controls.Input", "Telerik.Windows.Controls.MediaPlayer".

The RadUpload is a control on the client side, (running in client's browser) but it needs a server handler, an address to connect to and transfer the files. So you need to set up the RadUpload in the Silverlight project and the UploadHandler on the server. You can refer to the help articles RadUpload -> Getting Started -> Setup RadUpload for more information on how to do this.

After the basic setup, you can copy any of the RadUpload examples from the website, just keep in mind that you will need to alter the namespaces to match your project.

The RadUpload is the only control that requires a server-side setup, you can use all the others as they are.

We would be happy to help you with any problem or difficulty about using the controls.

Sincerely yours,
Miroslav
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Bill
Top achievements
Rank 1
answered on 02 Sep 2008, 12:52 PM
Thanks for the help.

The problem I keep running into now is that when I use the xap that was given with the example, it brings up the Rad Silverlight menu each time and not just a specific example.

Do I need to re-build an xap for this to work?

Thanks
0
Bill
Top achievements
Rank 1
answered on 02 Sep 2008, 07:55 PM
Here are the steps that I'm following....


Create a new silverlight application
keeping the default settings

once in there, I go to the reference folder and then import the necessary dll files from the example.

After that, I then go to the automatic upload example folder, open up the xaml and xaml.cs and then copy the codes into my new project (into the page.xaml and page.xaml.cs)

I guess that is where I get hung up on this project. After that, I build the project, then try to view the application on a test window.
The test window either always displays the complete telerik silverlight example page or it displays nothing.

Thanks
0
Valentin.Stoychev
Telerik team
answered on 04 Sep 2008, 05:44 PM
Hello Bill,

Yes - you are right - currently the examples project do not allow you to choose a startup page - it always opens the home page and you can choose the example you want from there. What you can do is, once you browse to your example to save the browser url and when you need to go this specific example - just point to the saved url.

Sincerely yours,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Upload
Asked by
Bill
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Bill
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
Share this question
or