Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
470
DropdownEditorButton in UltraTextEditor adding by itself after compiling
posted

RightButton in ultratexteditor allways adds by itself  after changing form which ultratexteditor in and compiling.

The reason is sentense "UltraTextEditor.RightButton.Add(DropdownEditorButton1)" in file .designer.cs executed several times.

How can I resolve it? Thanks.

Parents
No Data
Reply
  • 37774
    posted

     I'm not sure what your question is.  If you have the line in the designer.cs file, that means that .NET serialized a button that was added at design-time.  Are you saying that the button wasn't there originally and that it's being added when you copy and paste the control onto another form?  I'm not sure how that would happen, unless you subclassed the UltraTextEditor and are doing your own processing.

    -Matt

Children