Wiki

Case Status Kiln
Register Log In

Wiki

 
"How To" Guides»Using IPluginRawPageDisplay to…
  • RSS Feed

Last modified on 12/16/2014 1:57 PM by User.

Tags:

Using IPluginRawPageDisplay to Handle AJAX Requests

Plugin Interfaces > Add Pages to FogBugz > IPluginRawPageDisplay (AJAX)

Introduction

This article will demonstrate a simple FogBugz plugin that handles AJAX requests using the IPluginRawPageDisplay interface contained in the FogCreek.FogBugz.Plugins.Interfaces class library.

Functionality

This plugin improves upon the "Adopt a Kiwi" interaction from the IPluginDatabase example by allowing users to add new kiwis to the list without reloading the page. Rather than initiating a POST, the "Add Kiwi" button invokes a javascript method that sends an AJAX request handled by the IPluginRawPageDisplay interface.




Compile and Install It On Your Own

Download the source file:   IPluginRawPageDisplay_AJAX_Example.cs

Then follow these instructions to create a functioning plugin assembly: Compiling and Installing a FogBugz Plugin