Support forums

Capture file names of images

Last post 08-14-2015, 9:46 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  08-13-2015, 11:30 AM 80610

    Capture file names of images

    I work for county government and have developed a CMS using RTE. I need to be able to record the file names of images inserted into departments' pages. Here's what I have: 


    Protected Sub Uploader_FileUploaded(Sender As Object, args As RTE.UploadImageEventArgs) Handles Editor1.UploadImage
        Dim ImgfileName As String = CType(args.FileName, String)
        [SQL Insert statement... ]
    End Sub

    The routine above does not fire when an image is uploaded from the image upload dialog page. What event will allow me to record image file names? Editor Save click event?

  •  08-14-2015, 9:46 AM 80612 in reply to 80610

    Re: Capture file names of images



    It will fire event "UploadImage", you can try the code below, it will changes the upload image name to "cutesoft.jpg".


      Protected Sub Editor1_UploadImage(sender As Object, args As UploadImageEventArgs)


        End Sub 





View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems