'Chose Avatar Sample' doesnt run on version 2010.2.713.40

2 posts, 0 answers
  1. aliguldur
    aliguldur avatar
    4 posts
    Member since:
    Oct 2004

    Posted 27 Jul 2010 Link to this post

    Below code running old version but i have updated version no run now.

    function

     

     

    fileUploaded(sender, args) {

     

    $find(

     

    'RadAjaxManager1').ajaxRequest();

     

    sender.deleteFileInputAt(0);

     

    }



     

     

    <telerik:radasyncupload runat="server" ID="AsyncUpload1" MaxFileInputsCount="1"

     

     

     

     

    OnClientFileUploaded="fileUploaded" TargetPhysicalFolder="~/Image/Upload"

     

     

     

    Width="90px" OverwriteExistingFiles="True" >

     

     

     

    <Localization Select="Choose Avatar" />

     

     

     

    </telerik:radasyncupload>

     





     

     

    Try

     

     

     

    ' file.Add(e.File)

     

     

     

    Dim fileStream As IO.Stream = e.File.InputStream

     

     

     

    Dim imageData As Byte() = New Byte(fileStream.Length - 1) {}

     

    fileStream.Read(imageData, 0,

     

    CInt(fileStream.Length))

     

    Thumbnail1.DataValue = imageData

    fileStream.Close()

     

     

    Catch ex As Exception

     

     

     

    End Try

     

  2. Yana
    Admin
    Yana avatar
    4982 posts

    Posted 29 Jul 2010 Link to this post

    Hi aliguldur,

    Could you please check this forum thread and let us know whether it helps?

    Kind regards,
    Yana
    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
Back to Top