AJAX Page - Knowledge Base

Back to Knowledge Base list

Using AJAXPage on a page that already inherits from another class

Q:

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

A:

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
   {
       ...



"Thank you very much for such a great product. We had purchased three of your competitors editor controls with each of them having functional flaws that made it incompatible with our application. Obout's editor is the only one that meets our requirements. Also, your support has been absolutely the best!"

Darren Terrell
inkubook