Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Taylor 873 posts 2086 karma points
    Nov 08, 2012 @ 15:09
    Matt Taylor
    0

    Error when spam is detected.

    Hi Anthony,

    I found that in the latest source the vwSpam view is missing runat="server".

    <asp:View ID="vwSpam">

    This means that the following code will cause an error in the HandleRedirects function.

    mvForm.ActiveViewIndex = 4;

    Simply fixed by adding runat="server" though.

    On a side note when setting the active view you may like to use SetActiveView as it's more readble than numbers. ;)

    mvForm.SetActiveView(vwSpam);

    Cheers,

    Matt

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Nov 19, 2012 @ 11:51
    Anthony Dang
    0

    Thanks for the bug report!

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies