Upload Problems!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

3 posts, 0 answers
  1. venu
    venu avatar
    6 posts
    Member since:
    Sep 2008

    Posted 16 Jun 2009 Link to this post


    1.     i am uploading a file  while uploading i  want to create a folder in c:\    drive programatically  and upload the file to that folder is that possible in Telerik sample (silverlight)if so how, can you please help me.
     to create a directory i am using code as written below

    directory.createdirectory(@"c:\tempfolder");      but it is giving error saying unable to access the method system.io.directory.createdirectory(system.string);

    2.   i want to rename the file while uploading i,e if it is abc.jpg i want to rename it to uploadername+currenttime+abc.jpg
    i want to know whether it is possible to rename or not if possible how to do it.( in which method)

    3.    i want the path of file from where it is uploaded  so that i can display that in the progressbar instead of displaying the image name
    just like this(abc.jpg)
    i,e  if the file is fetched from c:\images    then i have to display c:\images\abc.jpg in progress bar .

    I tried  but i am getting problem in fetching the path of a file as well as creating a new folder and renaming.

    Please help me it is urgent.....................................
    my email id is avenugopalsjcit@gmail.com

  2. Ivan
    Ivan avatar
    519 posts

    Posted 16 Jun 2009 Link to this post

    Hello Venu,

    Thank you for your interest in the RadUpload control.

    About point 1 and 3: You can not implement such functionality in your client code because of security limitations of the Silverlight. Regarding this limitations you should redesign your application.

    About point 2: please preview the How to upload a file with a different name article, where you can find an example too.

    We hope this information helps you.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. venu
    venu avatar
    6 posts
    Member since:
    Sep 2008

    Posted 17 Jun 2009 Link to this post

    Thanks a lot ......................................IVAN


Back to Top