Hide unneeded buttons

Last post 04-14-2007, 12:24 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  03-06-2007, 10:46 AM 27186

    Hide unneeded buttons

      I appreciate your help on most of my question but some of my question been ignored

    Is rally so hard for you to tell me how would I get rid of that part In insertimage.frame.aspx file    (I just do not want to see those labels and Images and it should work in IE and FF, Visible="false" not working)  :

     <td width="20">

    <asp:Image Visible="false" ID="Image1" Runat="server" ImageUrl="../images/openfolder.gif"></asp:Image>

    </td><td width="240" class="normal">

    <asp:Label Runat="server" ID="FolderDescription"></asp:Label>

                                  </td>

                                  <td>

                                        <asp:ImageButton ID="CreateDir" Runat="server" AlternateText="[[Createdirectory]]" ImageUrl="../images/newfolder.gif"

                                              onMouseOver="CuteEditor_ColorPicker_ButtonOver(this);" Visible="false"

                                              OnClick="CreateDir_Click" />

                                        <asp:ImageButton ID="Copy" Runat="server" AlternateText="[[Copyfiles]]" ImageUrl="../images/Copy.gif"

                                              onMouseOver="CuteEditor_ColorPicker_ButtonOver(this);" Visible="true"

                                              OnClick="Copy_Click" />

                                        <asp:ImageButton ID="Move" Runat="server" AlternateText="[[Movefiles]]" ImageUrl="../images/move.gif"

                                              onMouseOver="CuteEditor_ColorPicker_ButtonOver(this);" Visible="true"

                                              OnClick="Move_Click" />

                                        <IMG src="../images/zoom_in.gif" onclick="Zoom_In();" Alt="[[ZoomIn]]" class="dialogButton"

                                              onmouseover="CuteEditor_ColorPicker_ButtonOver(this);"> <IMG src="../images/zoom_out.gif" onclick="Zoom_Out();" Alt="[[ZoomOut]]" class="dialogButton"

                                              onmouseover="CuteEditor_ColorPicker_ButtonOver(this);"> <IMG src="../images/bestfit.gif" onclick="BestFit();" Alt="[[BestFit]]" class="dialogButton"

                                              onmouseover="CuteEditor_ColorPicker_ButtonOver(this);"> <IMG src="../images/Actualsize.gif" onclick="Actualsize();" Alt="[[ActualSize]]" class="dialogButton"

                                              onmouseover="CuteEditor_ColorPicker_ButtonOver(this);"> <IMG src="../images/resize.gif" id="img_AutoThumbnail" onclick="AutoThumbnail();" Alt="[[AutoThumbnail]]" class="dialogButton"

                                              onmouseover="CuteEditor_ColorPicker_ButtonOver(this);">

                                              <% if(secset.AllowModify) {%>

                                              <IMG class="dialogButton" onmouseover="CuteEditor_ColorPicker_ButtonOver(this);" id="img_ImageEditor" src="../images/imageeditor.gif" onclick="ImageEditor();" Alt="[[ImageEditor]]">

                                              <%

                                              }

                                              else

                                              {

                                              %>

                                                    <IMG class="CuteEditorButtonDisabled" onmouseover="CuteEditor_ColorPicker_ButtonOver(this);" src="../images/imageeditor.gif" Alt="[[ImageEditor]]">

                                              <%

                                              }

                                              %>

                                  </td>

  •  04-14-2007, 12:24 AM 28327 in reply to 27186

    Re: Hide unneeded buttons

    Torman,

    Find the elements you want to hide.

    And add the following code to them.

    Style="display:none"



    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML