+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / how to add custom information in Image Manager upload panel info?

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

5 posts, 0 answered
  1. humayoo
    humayoo avatar
    89 posts
    Registered:
    25 Oct 2010
    02 May 2011
    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. please see the attachment.

    how can we do that ? please provide some example.

    thanks
    Humayoo
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    02 May 2011
    Link to this post
    Hi humayoo,

    You need to download the templates for the RadUpload control . and modify them. Please check the following documentation as well.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. humayoo
    humayoo avatar
    89 posts
    Registered:
    25 Oct 2010
    02 May 2011
    Link to this post
    hi,

    this link RadUpload control is not showing any thing  about templates. can you verify please ?
    seconds is it possible to add custom message from FileBrowserContentProviderTypeName(using own provider name)? if yes, please provide me some example.

    thanks
    Humayoo
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    02 May 2011
    Link to this post
    Hi humayoo,

    Sorry about the link. First, it looks like you use the RadUpload that comes from FileExplorer control. The RadUpload from the file explorer can be accessed following the steps provided in this kb

    http://www.telerik.com/support/kb/aspnet-ajax/editor/displaying-single-upload-control-in-the-filebrowser-upload-manager.aspx

    because this dialog does not have a template. It opens from the client component of the RadFileExplorer

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. humayoo
    humayoo avatar
    89 posts
    Registered:
    25 Oct 2010
    02 May 2011
    Link to this post
    hi,

    i am using sitefinity 3.7.  i am using Image Manager from radeditor. this is code for image Manager

    DialogOpener DialogOpener1 = item.FindControl("DialogOpener1") as DialogOpener;
    FileManagerDialogParameters imageManagerParameters = new FileManagerDialogParameters();
    imageManagerParameters.ViewPaths = new string[] { "~/SlideData/CarImage" };
    imageManagerParameters.UploadPaths = new string[] { "~/SlideData/CarImage" };
    imageManagerParameters.DeletePaths = new string[] { "~/SlideData/CarImage" };
    imageManagerParameters.MaxUploadFileSize = 5000000;
    imageManagerParameters.FileBrowserContentProviderTypeName = typeof(ChangeImageSizeProvider).AssemblyQualifiedName;
    // If you don't set the following property, the default value will be used 
    imageManagerParameters.SearchPatterns = new string[] { "*.jpg", "*.gif", "*.png" };
     
    DialogDefinition imageManager = new DialogDefinition(typeof(ImageManagerDialog), imageManagerParameters);
    imageManager.ClientCallbackFunction = "ImageManagerFunction";
    imageManager.Width = Unit.Pixel(750);
    imageManager.Height = Unit.Pixel(440);
    imageManager.Parameters["EnableImageEditor"] = false;

    now i want to add some extra message in upload panel info. please see the attachment.
    please provider me some example , how to do this ?

    thanks
    Humayoo
Register for webinar
5 posts, 0 answered