More in this section


3 posts, 0 answered
  1. Nitin
    Nitin avatar
    51 posts
    14 Aug 2007
    01 Dec 2007
    Link to this post
    Hi guys.

    One of our custom Blog Meta field lets user type in a path to image file.  Here is the code in ControlPanelInsert.ascx and ControlPanelEdit.ascx:

    1             <!-- Custom field added for the Blog Image path --> 
    2             <div class="bottom"><div><!-- --></div></div> 
    3             <h3><asp:Literal ID="Literal2" runat="server" Text="<%$Resources:BlogImageSettings %>"></asp:Literal></h3>  
    4             <fieldset class="set">  
    5                 <ol class="setIn">  
    6                     <li class="title">  
    7                         <asp:Label ID="Label8" AssociatedControlID="BlogImage" Text="<%$Resources:BlogImage %>" runat="server"></asp:Label> 
    8                         <asp:TextBox ID="BlogImage" Text="" runat="server"></asp:TextBox> 
    9                         <asp:RequiredFieldValidator ID="validatorImage" runat="server" ControlToValidate="BlogImage" Display="Dynamic" EnableViewState="False" CssClass="validMessage" SetFocusOnError="True"><strong><asp:Literal ID="Literal1" runat="server" Text="<%$Resources:ContentEmpty %>"></asp:Literal></strong></asp:RequiredFieldValidator>                              
    10                     </li> 
    11                 </ol> 
    12             </fieldset> 

    I want to provide a browse button next to BlogImage text box  (line 8) that would invoke ImageManager like window and allow content authors to specify image files as well as let them upload it if needed.

    Is there a built-in way of doing it or I would need to create my own ImageManager?

    Much appreciated!

  2. Vlad
    Vlad avatar
    498 posts
    19 Jun 2017
    03 Dec 2007
    Link to this post
    Hello Nitin,

    There is a solution to use the ImageManager as a stand-alone window. You can see the following KB article on the topic: (ID#549) Using the Image manager outside r.a.d.editor 5.x - 7.x.

    Also, you can find an attached example on how to use the editor's image and document managers without the editor being visible on the page (technically it is present but hidden). To run it, just extract the .aspx page inside your project and run it in your browser.

    Here are some related posts:

    Hope this is helpful.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Nitin
    Nitin avatar
    51 posts
    14 Aug 2007
    14 Dec 2007
    Link to this post

    Thats exactly what I was looking for, Vlad. Blagodarya!

    BTW, congratulations on Telerik being elected the best employer in Bulgaria! You guys rock!


Register for webinar
3 posts, 0 answered