Package builder saying configuration issues. Help Please!

I have no idea what is happening here. This is the class i have written in Visual Studio.

using Spotfire.Dxp.Web.Forms;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.UI;

namespace Company.Spotfire.Extension.TIHelp
{

    internal class NavigateToPageControl : CustomWizardPromptControl
   {
        //Constructor will be called to add a new page with the corresponding state
        public NavigateToPageControl(PageState state)
        {
            this.AddPage(new HTMLPage(state));
        }

        private class HTMLPage : CustomWizardPromptControlPage
        {
            //HTML page will use the state of the page to render a specific html
            //private readonly PageState state;
            //Constructors to initialize the state
            public HTMLPage(PageState state)
                : base("HTML Help File")
            {
                // this.state = state;
            }

            protected override void OnGetContentsCore(HtmlTextWriter writer)
            {
                //Use dummy test values to check if something prints on console

                writer.WriteLine("<p>");
                writer.WriteLine("Testing paragraph");
                writer.WriteLine("</p>");
            }

            protected override void OnGetScriptsCore(StringBuilder builder)
            {
                //No scripts will be called
            }

            protected override void OnLeavePageCore(FormData data)
            {
                //When leaving the page...update the state. Not necessary though
            }

            protected override bool OnValidatePromptCore(FormData data)
            {
                return true;
            }
        }
    }
}

This code won't work on package builder. If i comment out this class, everything will work else wise no. What is wrong here???? I have try every possible solutions to fix this but it doesnt fix. Any ideas will be appreciated.

Attachments

AttachmentSize
Image icon debug.png102.65 KB

(1) Answer

Login