Need help with ASP

Hello,

 

Needing some help with ASP.  In one of our templets we have the below statement.  If I take out the part about Print at Home, it run fine.  But if I add in the Print at Home [else] statement,  it errors out with invalid character in the header; ‘;’.   

 

Thanks in advance for your help.

 

<% if (OrderData.DeliveryMethod == -1) { %>

            Hold order at Box Office<br />

            <i>Please pick up your tickets no later than 30 minutes before curtain.</i>

    <% else if (OrderData.DeliveryMethod == 3) { %>

            <b>Print at Home<br />

            <i>You will receive your Print at Home tickets in a separate email.</i>       

                <% } else { %>

                    <tweb:AddressControl runat="server" id="uxDelivery" DefaultCountry="[country]" LineBreak="<br />" />

                <% } %>

        </td>

    </tr>

    <tr>

 

 

Thanks,

Bobby Moseley

Houston Ballet

601 Preston Street

Houston, TX 77002

(713) 535-3253

 

Parents
  • Thanks Jon that worked.

     

    Thanks,

    Bobby Moseley

    Houston Ballet

    601 Preston Street

    Houston, TX 77002

    (713) 535-3253

     

    From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Jon Ballinger
    Sent: Wednesday, December 10, 2014 6:02 PM
    To: Moseley, Bobby
    Subject: Re: [Tessitura Technical Forum] Need help with ASP

     

    Hi Bob,

    Are you missing an ending curly brace after the if statement before the else?

    Jon

    From: Bobby Moseley <bounce-bobbymoseley3262@tessituranetwork.com>
    Sent: 12/10/2014 5:17:38 PM

    Hello,

     

    Needing some help with ASP.  In one of our templets we have the below statement.  If I take out the part about Print at Home, it run fine.  But if I add in the Print at Home [else] statement,  it errors out with invalid character in the header; ‘;’.   

     

    Thanks in advance for your help.

     

    <% if (OrderData.DeliveryMethod == -1) { %>

                Hold order at Box Office<br />

                <i>Please pick up your tickets no later than 30 minutes before curtain.</i>

        <% else if (OrderData.DeliveryMethod == 3) { %>

                <b>Print at Home<br />

                <i>You will receive your Print at Home tickets in a separate email.</i>       

                    <% } else { %>

                        <tweb:AddressControl runat="server" id="uxDelivery" DefaultCountry="[country]" LineBreak="<br />" />

                    <% } %>

            </td>

        </tr>

        <tr>

     

     

    Thanks,

    Bobby Moseley

    Houston Ballet

    601 Preston Street

    Houston, TX 77002

    (713) 535-3253

     




    This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!

Reply
  • Thanks Jon that worked.

     

    Thanks,

    Bobby Moseley

    Houston Ballet

    601 Preston Street

    Houston, TX 77002

    (713) 535-3253

     

    From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Jon Ballinger
    Sent: Wednesday, December 10, 2014 6:02 PM
    To: Moseley, Bobby
    Subject: Re: [Tessitura Technical Forum] Need help with ASP

     

    Hi Bob,

    Are you missing an ending curly brace after the if statement before the else?

    Jon

    From: Bobby Moseley <bounce-bobbymoseley3262@tessituranetwork.com>
    Sent: 12/10/2014 5:17:38 PM

    Hello,

     

    Needing some help with ASP.  In one of our templets we have the below statement.  If I take out the part about Print at Home, it run fine.  But if I add in the Print at Home [else] statement,  it errors out with invalid character in the header; ‘;’.   

     

    Thanks in advance for your help.

     

    <% if (OrderData.DeliveryMethod == -1) { %>

                Hold order at Box Office<br />

                <i>Please pick up your tickets no later than 30 minutes before curtain.</i>

        <% else if (OrderData.DeliveryMethod == 3) { %>

                <b>Print at Home<br />

                <i>You will receive your Print at Home tickets in a separate email.</i>       

                    <% } else { %>

                        <tweb:AddressControl runat="server" id="uxDelivery" DefaultCountry="[country]" LineBreak="<br />" />

                    <% } %>

            </td>

        </tr>

        <tr>

     

     

    Thanks,

    Bobby Moseley

    Houston Ballet

    601 Preston Street

    Houston, TX 77002

    (713) 535-3253

     




    This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!

Children
No Data