Re: problems when adding custom buttons

  •  01-26-2006, 3:54 AM

    Re: problems when adding custom buttons

    I even tried to replace the onclick event on a current button
     
    ---------------------------------------------------------------------

    Dim ctrl As System.Web.UI.WebControls.WebControl

    ctrl = TheEditor.ToolControls(TheEditor.ToolControls.IndexOf("InsertImage")).Control()

    ctrl.Attributes("onclick") = "OpenImageBank('/imagebank.aspx',this);"
     
    --------------------------------------------------------------------
     
    The code worked by replacing the functionality of that button but the dropdown auto selection feature quit working again.
View Complete Thread