Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1010
Why won't WebSchedule forms build in my project
posted

I am getting literally hundreds of errors. For example, the following section of code throws "Unexpected Character Sequence. Expected a selector for the style rule."

<DropButton ImageUrl2="./images/clearpixel.gif" ImageUrl1="./images/clearpixel.gif">
<Style
    <Padding Bottom="0px" Left="0px" Top="0px" Right="0px"></Padding>
    <Margin Bottom="0px" Left="0px" Top="0px" Right="0px"></Margin>
</Style>

that snippet is part of the larger control shown here:

<igsch:webdatechooser id="wdcStartTime" style="DISPLAY: inline" tabIndex="3" width="100%" runat="server" EnableKeyboardNavigation="true">
                                <EditStyle CssClass="Fonts">
                                    <Padding Bottom="0px" Top="0px" Right="0px"></Padding>
                                    <Margin Bottom="0px" Top="0px" Right="0px"></Margin>
                                </EditStyle>
                                <ClientSideEvents ValueChanged="wdcStartTime_ValueChanged"></ClientSideEvents>
                                <CalendarLayout MaxDate="" ShowYearDropDown="False" ShowMonthDropDown="False" ShowFooter="False">
                                    <CalendarStyle Height="100%" CssClass="Fonts"></CalendarStyle>
                                    <TitleStyle BackColor="#C3DAF9"></TitleStyle>
                                </CalendarLayout>
                                <DropButton ImageUrl2="./images/clearpixel.gif" ImageUrl1="./images/clearpixel.gif">
                                    <Style
<Padding Bottom="0px" Left="0px" Top="0px" Right="0px">
</Padding>

<Margin Bottom="0px" Left="0px" Top="0px" Right="0px">
</Margin>

                                    </Style>
                                </DropButton>
                            </igsch:webdatechooser>

 

 

Also I get a lot of these:

Error    357    'Forms.AppointmentAddUC' does not contain a definition for 'wdcStartTime' and no extension method 'wdcStartTime' accepting a first argument of type 'Forms.AppointmentAddUC' could be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\dcarnley\My Documents\Visual Studio 2008\WebSites\InteractiveImpact\Solution\InteractiveImpact.Web\WebSchedule\AppointmentAdd.ascx.cs    21    9    InteractiveImpact.Web

 

and warnings like this:

Warning    6    'System.Web.UI.Page.RegisterClientScriptBlock(string, string)' is obsolete: 'The recommended alternative is ClientScript.RegisterClientScriptBlock(Type type, string key, string script). http://go.microsoft.com/fwlink/?linkid=14202'  

 

 

what the heck is going on?

 

Parents
  • 1010
    Verified Answer
    posted

    Well, that was fun.

    Had to convert the forms to "web Application" style pages.  Googled how to do that. 

    In order to do that, I had to remove the references to the cusomt List and Combobox classes, then add them back in.  Also had to fix the Register statements for those controls to reference my project's assembly (web application). 

    I had to remove the <Padding> and <Margin> tags described above.

    Probably some other massaging that I can't remember now, but it does eventually work.

     

Reply Children