how to add custom information in Image Manager upload panel info?

9 posts, 0 answers
  1. BesT LoLo
    BesT LoLo avatar
    11 posts
    Member since:
    Dec 2013

    Posted 14 Apr 2015 Link to this post

    hi,

    i want to add some custom information in image manager upload panel. in image manager upload panel ,there is information like max file size allowed,File extension allowed. i also want add some message below or above this message and i want to remove override check box because i always rename the uploaded file to unique name . please see the attachment.

    how can we do that ?

     

     

    Thanks on advance.

     

    BesT LoLo

  2. Vessy
    Admin
    Vessy avatar
    1388 posts

    Posted 16 Apr 2015 Link to this post

    Hello,

    Please, review the following forum thread where a similar scenario has been discussed in details:  Custom Upload File Fields

    Once you get a reference to the Upload dialog in the described way you will be able to add the desired additional html content to it.

    Regards,
    Vessy
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. BesT LoLo
    BesT LoLo avatar
    11 posts
    Member since:
    Dec 2013

    Posted 16 Apr 2015 in reply to Vessy Link to this post

    Hi Vessy;

     Thanks for your replay, but I'm afraid that your suggestion can't help me here, because my case is:

    Rad Editor --> Image Manager -->Rad File Explorer-->Upload Control.

     

    Thanks for replay.

  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 20 Apr 2015 Link to this post

    Hello,

    You can take the editor dialog, put it in your app and modify it so you can access the file explorer control: http://www.telerik.com/help/aspnet-ajax/editor-externaldialogspath-property.html.

    Regards,

    Marin Bratanov
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  6. BesT LoLo
    BesT LoLo avatar
    11 posts
    Member since:
    Dec 2013

    Posted 21 Apr 2015 in reply to Marin Bratanov Link to this post

    Hello Marin;

    Thanks for your replay, your suggestion will help me edit file explorer inside rad editor, but that won't help me either because i need to change upload template that's inside file explorer which it can't be reached throw FileBrowser.ascx.

    In the attachment picture you can see upload popup invoked by file browser, does this popup has setting somewhere?

     

    Thanks on advance.

  7. BesT LoLo
    BesT LoLo avatar
    11 posts
    Member since:
    Dec 2013

    Posted 27 May 2015 Link to this post

    Hello;

    Any possible solution to my case please.

  8. Vessy
    Admin
    Vessy avatar
    1388 posts

    Posted 27 May 2015 Link to this post

    Hello,

    RadFileExplorer does not provide a fucntionality to edit its Upload Dialog template. The only way to apply modifications to the dialog rendering for the moment is to do it on the client like explained in a previously linked forum thread: Custom Upload File Fields

    Once you enable the Editor's external Dialogs (refer the Marin's post above) you will be able to access the FileExplorer's client object in the FileBrowser.ascx dialog and apply the desired modifications in it.

    Regards,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  9. BesT LoLo
    BesT LoLo avatar
    11 posts
    Member since:
    Dec 2013

    Posted 03 Jun 2015 in reply to Vessy Link to this post

    Hello Vessy;

    Thanks for your replay, i read it when you posted it, however it doesn't solve my problem but thanks a lot, I don't want to take your time more, but my issue is i got RadEditor which's contains RadFileExplorer (and this can be reached from FileBrowser.ascx) but still you can make small modifications to it's module and there's more and more things you want to edit it like: the grid inside that RadFileExplorer (e.g. Adding column, sorting...), these things you can modify it if you have just RadFileExplorer without RadEditor like  FileExplorer - Add custom columns, but in my case " RadEditor --> RadFileExplorer "  you can't just do it, and here is a sample code for what I'm talking about:

    Public Sub New(context As HttpContext, searchPatterns As String(), viewPaths As String(), uploadPaths As String(), deletePaths As String(), selectedUrl As String, _
               selectedItemTag As String)
               MyBase.New(context, searchPatterns, viewPaths, uploadPaths, deletePaths, selectedUrl, _
                   selectedItemTag)
               Dim gridTemplateColumn1 As New GridTemplateColumn
               gridTemplateColumn1.HeaderText = "Creation Date"
               gridTemplateColumn1.SortExpression = "Date"
               gridTemplateColumn1.UniqueName = "Date"
               gridTemplateColumn1.DataField = "Date"
               Dim array(1) As String
               array(0) = "*.JPG"
               array(1) = "*.PNG"
               CType(DirectCast(context.CurrentHandler, Telerik.Web.UI.DialogHandler).FindControl("RadFileExplorer1"), RadFileExplorer).Configuration.SearchPatterns = array
               CType(DirectCast(context.CurrentHandler, Telerik.Web.UI.DialogHandler).FindControl("RadFileExplorer1"), RadFileExplorer).Grid.Columns.Add(gridTemplateColumn1)
           End Sub

    So in last line you get error that the RadFileExplorer's grid is nothing and you can't add columns to it.

     Sorry for talking too much, but i believe that you have some magic way to implement my approach.

     

    BesT Regards.

    BesT LoLo

  10. Vessy
    Admin
    Vessy avatar
    1388 posts

    Posted 08 Jun 2015 Link to this post

    Hello,

    I am afraid that the provided information is not enough to determine what is preventing you to implement the described approach. Where is the provided code snippet taken from? It seems like a contrsuctor of a custom content provider, while the custom columns have to be added in the page load event, not inside the provider. Can you elaborate a bit on the exact place the given code is used? It will be best if you prepare a sample project demonstrating the exact configuration used by you, so we can determine what part of the suggested integration is missed.

    Regards,
    Vessy
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017