Automatic Upload - How to use it?

5 posts, 0 answers
  1. Bill
    Bill avatar
    8 posts
    Member since:
    Mar 2008

    Posted 29 Aug 2008 Link to this post

    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
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 02 Sep 2008 Link to this post

    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.
  3. DevCraft banner
  4. Bill
    Bill avatar
    8 posts
    Member since:
    Mar 2008

    Posted 02 Sep 2008 Link to this post

    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
  5. Bill
    Bill avatar
    8 posts
    Member since:
    Mar 2008

    Posted 02 Sep 2008 Link to this post

    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
  6. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 04 Sep 2008 Link to this post

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