AJAX Page - Knowledge Base

« Back to Knowledge Base list

Using AJAXPage on a page that already inherits from another class


I want to use AJAXPage but my page already inherits from another class.What can I do?


AJAXPage works only when your page inherits from OboutInc.oboutAJAXPage instead of System.Web.UI.Page.
If you page already inherits from another class, you can inherit that class from OboutInc.oboutAJAXPage.

For example:
   public class MyWebPage : AnotherBasePage

just inherit AnotherBasePage class from OboutInc.oboutAJAXPage

   public class AnotherBasePage : OboutInc.oboutAJAXPage