This is a migrated thread and some comments may be shown as answers.

Custom toolbar button not showing anymore

3 Answers 445 Views
Windows
This is a migrated thread and some comments may be shown as answers.
abdu bukres
Top achievements
Rank 1
abdu bukres asked on 29 Sep 2017, 05:08 PM

 

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. 

3 Answers, 1 is accepted

Sort by
0
Simeon
Telerik team
answered on 03 Oct 2017, 03:21 PM
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
0
abdu bukres
Top achievements
Rank 1
answered on 03 Oct 2017, 04:33 PM

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); }
    }
    

0
abdu bukres
Top achievements
Rank 1
answered on 03 Oct 2017, 10:33 PM
It suddenly showed up again. I have no explanation.
Tags
Windows
Asked by
abdu bukres
Top achievements
Rank 1
Answers by
Simeon
Telerik team
abdu bukres
Top achievements
Rank 1
Share this question
or