How to change crop dialog

2 posts, 0 answers
  1. Amadeo
    Amadeo avatar
    1 posts
    Member since:
    Aug 2011

    Posted 18 Aug 2011 Link to this post

    Good morning,
    today i bought a full version of Telerik Ajax ASP.NET components and i am trying to use RadImageEditor for croping my images. What i need to do is edit crop dialog - remove two its buttons - http://imageshack.us/photo/my-images/651/imgzkz.jpg/

    Can you please help me?

    Thanks
    Amadeo Mareš
  2. Bozhidar
    Admin
    Bozhidar avatar
    677 posts

    Posted 19 Aug 2011 Link to this post

    Hi Amadeo,

    To remove the two buttons you should set their wrapping element to display: none. You could put the style into the head section of the document, as I did in the bellow sample example, or to put the CSS rule in an external stylesheet:

    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    <head runat="server">
        <title></title>
        <style type="text/css">
            .rieResizeButtons
            {
                display: none;
            }
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <telerik:RadSkinManager ID="rsm1" runat="server" ShowChooser="true"></telerik:RadSkinManager>
            <telerik:RadImageEditor ID="rm1" runat="server"></telerik:RadImageEditor>
        </form>
    </body>
    </html>


    Best wishes,
    Bojo
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

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