customized file upload popup window

7 posts, 0 answers
  1. lan luo
    lan luo avatar
    36 posts
    Member since:
    May 2010

    Posted 15 Apr 2014 Link to this post

    Hi Telerik Team,

    We try to find a way to customize the file upload control in the Editor's *.manager. The idea is we want to make two tabs in the file upload window, one is select files from local computer which is the same function as now and we also want to add a new tab for external applications. We will implement the new tab feature by ourselves.

    We are struggling to find a solution to add two tabs and implement our customized feature in file upload control. Could you please help us out ?

    The interface should look like what we see in the attachment.

    Thanks in advance!

    Lan
  2. lan luo
    lan luo avatar
    36 posts
    Member since:
    May 2010

    Posted 15 Apr 2014 Link to this post

    Hi Telerik Team,

    Another possible solution is we can add a new button called External Applications in the *.manager tool bar, when we click it, it open  a new window which render our control?

    Please see the attachment for the detail.

    Thanks,

    Lan
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 17 Apr 2014 Link to this post

    Hello Lan,

    In order to add the desired custom functionality you will need to go through the following steps:

    You can also find useful information on how to add Server-side code to the Editor's dialogs in the following KB article: Displaying single upload control in the FileBrowser Upload manager

    Hope this helps.

    Regards,
    Vessy
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  5. lan luo
    lan luo avatar
    36 posts
    Member since:
    May 2010

    Posted 22 Apr 2014 Link to this post

    Hi Vessy,

    Thanks for your reply. I tried to add custom command to the FileExploer in the FileBrowser.ascx page, but for some reason, it didn't work. Here's what happened.

    1. in the FileBrowser.ascx page, I added server script ( C# ) in the FileBrowser.ascx page. No matter what event I use ( Page_Load, OnLoad, CreateChildControls ), it didn't run it.


    2. if I add control in the html markup, it can be displayed.


    3. I tried another one, I added asp button in the html markup and I also added onclick event for this button. The button can be displayed and when I click the button, it did postback ( I can see post event in Firebugs ) but it didn't execute the click event.

    Is there any way allow developer to override the server side event? Could you please give me any solution?

    Thanks in advance,

    Lan

  6. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 23 Apr 2014 Link to this post

    Hi Lan,

    Could you verify that you are adding the Server-side logic for the FileBrowser.ascx dialog in a custom user control, registered in the File Browser one like described here? I am asking you that, because the described issues are usually experienced when the Server-side handlers are added directly in the FileBrowser.ascx dialog.

    If this is not the case, though, could you please prepare a simple fully runnable project reproducing the issue so we could examine the problematic configuration on our side?

    Looking forward to hearing from you,
    Vessy
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  7. lan luo
    lan luo avatar
    36 posts
    Member since:
    May 2010

    Posted 24 Apr 2014 Link to this post

    Hi Vessy,

    It's working when I added user control. 

    Thanks for your help!

    Lan
  8. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 25 Apr 2014 Link to this post

    Hi,

    You are welcome, Lan. Feel free to contact us in case any further questions occur.

    Kind regards,
    Vessy
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017