Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

CreatedContent Event firing twice

$
0
0

Having this code:

private void CreatedContent(object sender, ContentEventArgs e)
{
    var a = e.Content is ArticlePage;
    if (a) {

        ...

    }

}

While debugging it goes twice returning "a = true" at first and "a = false" at second.

Why could possibly it be happening?

Eventually, code under "if" never gets executed.


Viewing all articles
Browse latest Browse all 8020

Trending Articles