Ektron uses a constants class named "Constants." If you create a similar class called "Constants" in app code, you can prevent Ektron components from working because the Constants class is referenced throughout the Ektron API.
Add a namespace to your custom "Constants" class to avoid conflicts. For example:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MySampleConstants
{
///
/// Summary description for Constants
///
public static class Constants
{
}
}
You then reference your custom constants class by
MySampleConstants.Constants
.
Alternatively, you can rename your class all together.
Please sign in to leave a comment.