Custom toolbar button not showing anymore

4 posts, 0 answers
  1. abdu bukres
    abdu bukres avatar
    80 posts
    Member since:
    Mar 2004

    Posted 29 Sep 2017 Link to this post

     

    I had a custom button to clear the log following the instructions in this post: http://www.telerik.com/forums/remove-all-as-a-single-click-button-on-the-toolbar

    The button doesn't show up anymore. I think this functionality broke from the latest update. 
    Please let me know how to get this functionality back. 

  2. Simeon
    Admin
    Simeon avatar
    116 posts

    Posted 03 Oct 2017 Link to this post

    Hi,

    I tried to reproduce your issue on my machine by modifying the Fiddler's script on an old version of Fiddler to add the custom button on booting. Then I executed an update to the latest version of Fiddler. The custom button in the toolbar showed up again.

    Could you, please, elaborate on how exactly you updated Fiddler to the latest version and from which version you did the update.

    Please, let me know if the changes in the script which you had made by following the instructions in the post are still there or if the script was reset to the default.

    Regards,
    Simeon
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. abdu bukres
    abdu bukres avatar
    80 posts
    Member since:
    Mar 2004

    Posted 03 Oct 2017 in reply to Simeon Link to this post

    I updated Fiddler when it told me there was a new version available.

    This is in my script. I don't see the Bye button anymore. See image capture

    static function RemoveAll(s: Object, e: EventArgs)
        {
          FiddlerApplication.UI.actRemoveAllSessions();               
        }
        
        static function OnBoot() {
            try {
                for (var c in FiddlerApplication.UI.Controls)
                {
                    if (c.GetType().Name == "ToolStrip")
                    {
                        var ts: ToolStrip = c;
                        var tsi: ToolStripButton = new ToolStripButton("BYE!");
                        tsi.add_Click(RemoveAll)
                        ts.Items.Insert(0, tsi);
                    }
                }
            } catch(e) { FiddlerApplication.Log.LogString(e); }
        }
        

  4. abdu bukres
    abdu bukres avatar
    80 posts
    Member since:
    Mar 2004

    Posted 03 Oct 2017 Link to this post

    It suddenly showed up again. I have no explanation.
Back to Top