<%@ Control Language="VB" AutoEventWireup="false" CodeFile="RedeemCoupon.ascx.vb"
    Inherits="Controls_RedeemCoupon" %>
<%@ Register Src="~/Controls/CustomContent.ascx" TagName="CustomContent" TagPrefix="uc" %>

<script type="text/javascript">
function DisableButton(e) 
{   
//alert(e.disabled)

            e.disabled = true; 
            if(document.getElementById("divwait") != null)
            {
            document.getElementById("divwait").style.display="inline"
            }     
}
function autotab(original,destination){
if (original.getAttribute&&original.value.length==original.getAttribute("maxlength"))
destination.focus()
}

 window.onload = function()
  {
        var myBoxObject = new curvyCorners(settings, "ValidationSummary");
        myBoxObject.applyCornersToAll();
  }

 function hideRoundBox()
  {
        document.getElementById ("summaryBox").className = "HideValidationSummaryBox"; 
  }
  
</script>

<asp:Panel runat="server" ID="pnlRedemptionEntry" DefaultButton="btnRedeemClone">
    <!-- begin content area -->
       <table id="Table4">       
       
        <tr>
            <td colspan="4" style="padding: 5px 10px 5px 10px;">
            <div id="summaryBox">
            <asp:Label runat="server" ID="lblErrorMessage" Text="Error" Visible="False" Font-Bold="false"
                    ForeColor="Red"></asp:Label>
                <%--<asp:RequiredFieldValidator ID="rfvCouponCode1" runat="server" ControlToValidate="txtCouponCode1"
                    Display="none" ErrorMessage="Please enter the <strong>first 3 digits</strong> of the coupon code." />
                <asp:RequiredFieldValidator ID="rfvCouponCode2" runat="server" ControlToValidate="txtCouponCode2"
                    Display="none" ErrorMessage="Please enter the <strong>digits 4 thru 6</strong> of the coupon code." />
                <asp:RequiredFieldValidator ID="rfvCouponCode3" runat="server" ControlToValidate="txtCouponCode3"
                    Display="none" ErrorMessage="Please enter the <strong>last 4 digits</strong> of the coupon code." />
                <asp:ValidationSummary runat="server" DisplayMode="bulletList" Font-Bold="False" ID="vsClientValidation" />--%>
             </div>   
            </td>
            
        </tr>
         <tr>
            <td colspan="4" >
            </td>
        </tr>
        <tr>
            <td colspan="4" style="padding: 5px 10px 5px 10px;">
                <font color="red">*Required Field</font>
            </td>
        </tr>
        <tr>
            <td colspan="4" style="padding: 5px 10px 5px 10px;">
                <font color="red">*</font><strong>Coupon/Rebate Number</strong>
                 <asp:TextBox runat="server" ID="txtCouponCode1" Width="100px" MaxLength="10" />
                </td>
         </tr>
        <tr>
        <td style="padding: 5px 10px 5px 10px;" colspan="4" ><div style="display:none;text-align: left;" id="divwait"><font color="red">Please wait while we process your request...</font></div></td>
        </tr>
        <tr>
            <td>
                <strong></strong>
            </td>
            <td>
                <div style="text-align: left">
                    <asp:Panel ID="pnlRedeemCouponView" runat="server" Visible="true">
                        <span class="button">
                            <asp:Button Text="&nbsp;Redeem&nbsp;" ID="btnRedeemClone" UseSubmitBehavior="false" OnClientClick="javascript:DisableButton(this);"
                                runat="server" /></span> &nbsp; <span class="button">
                                    <asp:Button Text="&nbsp;View Status&nbsp;" ID="btnViewStatusClone" UseSubmitBehavior="false" OnClientClick="javascript:DisableButton(this);"
                                        runat="server" /></span>
                    </asp:Panel>
                    <asp:Panel ID="pnlSendGiftCardView" runat="server" Visible="false">
                        <div class="GiftCardAddress">
                            <table cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblGiftCardAdressPrompt" runat="server" Text=""></asp:Label>
                                        <br />
                                        <asp:RadioButtonList ID="rblGiftCardAddress" runat="server" RepeatDirection="Horizontal" CssClass="GiftCardAddress" CellPadding="0"
                                            CellSpacing="0">
                                        </asp:RadioButtonList>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <br />
                        <span class="button">
                            <asp:Button Text="&nbsp;Send&nbsp;" ID="btnSendGiftCard" UseSubmitBehavior="false" OnClientClick="javascript:DisableButton(this);"
                                runat="server" /></span> &nbsp; <span class="button">
                                    <asp:Button Text="&nbsp;Cancel&nbsp;" ID="btnCancelGiftCard" UseSubmitBehavior="false" OnClientClick="javascript:DisableButton(this);"
                                        runat="server" /></span>
                    </asp:Panel>
                </div>
            </td>
            <td> &nbsp;
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="4">
            </td>
        </tr>
    </table>
    <table>
        <tr>
             <td style="padding: 5px 10px 5px 10px;">
                <div style="text-align: left">
                    <asp:LinkButton CausesValidation="false" runat="server" Text="Click Here" ID="lbRedemptionHistory"></asp:LinkButton>&nbsp;to
                    view your coupon/rebate redemption history</div>
            </td>
            <td>
            </td>
        </tr>
    </table>
    <!-- end content area -->
</asp:Panel>
<asp:Panel runat="server" ID="pnlRedemptionConfirm" Visible="false">
    <!-- begin content area -->
    <div class="innerbox" style="width: 632px;">

        
    <table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td class="innerHeader2" align="left"><p>Confirmation</p></td>
    <asp:PlaceHolder ID="plhRedeemAccountOverview" Visible="true" runat="server"><td class="innerHeader2" align="right"><p><a href="../Account/MyAccount.aspx"><u>Return to My Account Overview</u></a></p></td></asp:PlaceHolder>
    </tr>
    </table>
    
            <table width="100%" cellspacing="3" cellpadding="3">
            <tr>
            <td>
           &nbsp;
            </td>
            </tr>
             <tr>
        <td align="right" valign="top" colspan="3">
                    <asp:PlaceHolder ID="plhRedeemPrintIcon" Visible="true" runat="server"><a target="_blank" href="../Account/CouponPrint.aspx?Print=Redeem">
                    <img alt="Print" src="../Images/print.gif" /> Print</a> </asp:PlaceHolder>
                    <asp:Label Visible="false" runat= "server" ID="lblRedeemClose" Text="<a href='#' onclick='window.close();'>Close this Window </a>"></asp:Label>
            </td>
        </tr>
            <tr>
            <td style="padding: 5px 10px 5px 10px;">
            <div id="summaryBox">
                   <asp:Label ForeColor="black" runat="server" ID="lblConfirmationText"
                        Text=""></asp:Label></div>
        </td>            
            </tr>
            </table>
                    
    <table style="width: 100%; position: relative; top: 5px; text-align:center" cellspacing="0"
        cellpadding="0" border="0" >
        <tr>
       
            <td>
                <!-- this might need to be revisisted to do something more dynamic -->
                <table border="0" cellpadding="0" cellspacing="0" style="margin-top: 10px;
            line-height: 22px; margin-left: 20px;" width="95%">
                    <tr>
                        <td style="text-align:right; font-weight:bold" valign="top" width="160">
                            Confirmation Number
                        </td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td style="text-align:left;">
                            <asp:Label ID="lblConfirmationNumber" runat="server" ForeColor="DarkSlateGray" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;font-weight:bold; white-space:nowrap;" valign="top" width="160">
                            Coupon/Rebate Description
                        </td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td style="text-align:left;">
                            <asp:Label ID="lblCouponDescription" runat="server" ForeColor="DarkSlateGray" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;font-weight:bold" valign="top" width="160">
                            Coupon/Rebate Number
                        </td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td style="text-align:left;">
                            <asp:Label ID="lblCouponNumber" runat="server" ForeColor="DarkSlateGray" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;font-weight:bold" valign="top" width="160">
                            Coupon/Rebate Status
                        </td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td style="text-align:left;">
                            <asp:Label ID="lblCouponStatus" runat="server" ForeColor="DarkSlateGray" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;font-weight:bold" valign="top" width="160">
                            Coupon/Rebate Offer
                        </td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td style="text-align:left;">
                            <asp:Label ID="lblCouponOffer" runat="server" ForeColor="DarkSlateGray" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;font-weight:bold" valign="top" width="160">
                            Redemption Date (CST)
                        </td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td style="text-align:left;">
                            <asp:Label ID="lblRedemptionDate" runat="server" ForeColor="DarkSlateGray" Text=""></asp:Label>
                        </td>
                    </tr>
                    <asp:PlaceHolder ID="plhRedeemedEventsConfirm" runat="server" Visible="false">
                        <tr>
                            <td style="text-align:right;font-weight:bold" valign="top" width="160">
                                Redeemed Events
                            </td>
                            <td>
                                &nbsp;&nbsp;</td>
                            <td style="text-align:left;">
                                <asp:Label ID="lblRedeemedventsConfirm" runat="server" ForeColor="DarkSlateGray" Text=""></asp:Label>
                            </td>
                        </tr>
                    </asp:PlaceHolder>
                    <asp:PlaceHolder ID="plhQualifyingEventsConfirm" runat="server" Visible="false">
                        <tr>
                            <td style="text-align:right;font-weight:bold" valign="top" width="160">
                                Qualifying Events
                            </td>
                            <td>
                                &nbsp;&nbsp;</td>
                            <td style="text-align:left;">
                                <asp:Label ID="lblQualifyingEventsConfirm" runat="server" ForeColor="DarkSlateGray" Text=""></asp:Label>
                            </td>
                        </tr>
                    </asp:PlaceHolder>
                    <asp:PlaceHolder ID="plhGiftCardMailingAddressConfirm" runat="server" Visible="false">
                        <tr>
                            <td style="text-align:right;font-weight:bold" valign="top" width="160">
                                Send Gift Card To
                            </td>
                            <td>
                                &nbsp;&nbsp;</td>
                            <td style="text-align:left;">
                                <asp:Label ID="lblGiftCardMailingAddressConfirm" runat="server" ForeColor="DarkSlateGray" Text=""></asp:Label>
                            </td>
                        </tr>
                    </asp:PlaceHolder>
                    <tr>
                        <td style="text-align:right;font-weight:bold" valign="top" width="160">
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td style="text-align:left;">
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
       
        </tr>
        
           
        
    </table>
    <asp:PlaceHolder ID="plhRedeemGoBack" Visible="true" runat="server">
    <table>   
  
    
    <tr>
     
     
                        <td style="padding: 5px 10px 5px 10px;">
                                       <asp:LinkButton runat="server" Text="Click here" ID="lbRedeem" />&nbsp; to redeem
                            a coupon/rebate<br />
                                <asp:LinkButton runat="server" ID="lbRedemptionHistory2" Text="Click here" />&nbsp;to
                                view your coupon/rebate redemption history
                         <br />
                        <br />
                         </td>
                         
                                    
                        </tr>
                        
    </table>
    </asp:PlaceHolder>
    
    </div>
    <!-- end content area -->
</asp:Panel>
<asp:Panel runat="server" ID="pnlRedemptionError" Visible="false">
    <uc:CustomContent ContentKey="Support:CouponError" runat="server" ID="ucCouponError" />
</asp:Panel>
<asp:Panel runat="server" ID="pnlCouponStatus" Visible="false">
    <!-- begin content area -->
    <div class="innerbox" style="width: 632px;">

   
    <table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td class="innerHeader2" align="left"><p>Coupon/Rebate Status</p></td>
    <asp:PlaceHolder ID="plhCouponStatusAccountOverview" Visible="true" runat="server">
    <td class="innerHeader2" align="right"><p><a href="../Account/MyAccount.aspx"><u>Return to My Account Overview</u></a></p></td></asp:PlaceHolder>
    </tr>
    </table>
   
                               
    <table style="width: 100%; position: relative; top: 5px; text-align: left" cellspacing="3"
        cellpadding="0" border="0">
        <tr>
            <td>
                <br />
                 <table width="95%" border="0" cellpadding="0" cellspacing="0" style="margin-top: 10px;
            line-height: 22px; margin-left: 20px;">
            <tr>
        <td align="right" valign="top" colspan="3">
                <asp:PlaceHolder ID="plhCouponStatusPrintIcon" Visible="true" runat="server"><a target="_blank" href="../Account/CouponPrint.aspx?Print=Status">
                <img alt="Print" src="../Images/print.gif" /> Print</a></asp:PlaceHolder>
                 <asp:Label Visible="false" runat= "server" ID="lblCloseCouponStatus" Text="<a href='#' onclick='window.close();'>Close this Window </a>"></asp:Label>            </td>
                         
        </tr>
                    <tr valign=top>
                        <td width="156" valign="top" style="text-align:right;font-weight:bold; white-space:nowrap;">
                            Coupon/Rebate Description
                        </td>
                        <td>&nbsp;&nbsp;</td>
                        <td style="text-align:left;">
                            <asp:Label ForeColor="darkslategray" runat="server" ID="lblStatusDescription" Text="" />
                        </td>
                    </tr>
                    <tr valign=top>
                        <td width="156" valign="top" style="text-align:right;font-weight:bold">
                            Coupon/Rebate Number
                        </td>
                        <td>&nbsp;&nbsp;</td>
                        <td style="text-align:left;">
                            <asp:Label ForeColor="darkslategray" runat="server" ID="lblStatusCouponNumber" />
                        </td>
                    </tr>
                    <tr valign=top>
                        <td width="156" valign="top" style="text-align:right;font-weight:bold">
                            Coupon/Rebate Status
                        </td>
                        <td>&nbsp;&nbsp;</td>
                        <td style="text-align:left;">
                            <asp:Label ForeColor="darkslategray" runat="server" ID="lblStatusStatus" />
                        </td>
                    </tr>
                    <tr valign=top>
                        <td width="156" valign="top" style="text-align:right;font-weight:bold">
                            Coupon/Rebate Offer
                        </td>
                        <td>&nbsp;&nbsp;</td>
                        <td style="text-align:left;">
                            <asp:Label ForeColor="darkslategray" runat="server" ID="lblStatusOffer" />
                        </td>
                    </tr>
                    <tr valign=top>
                        <td width="156" valign="top" style="text-align:right;font-weight:bold">
                            Expiration Date
                        </td>
                        <td>&nbsp;&nbsp;</td>
                        <td>
                            <asp:Label ForeColor="darkslategray" runat="server" ID="lblStatusExpirationDate" />
                        </td>
                    </tr>
                    <asp:PlaceHolder runat="server" ID="plhRedeemedEventStatus" Visible="false">
                        <tr valign=top>
                            <td width="156" valign="top" style="text-align:right;font-weight:bold">
                                Redeemed Events
                            </td>
                            <td>&nbsp;&nbsp;</td>
                            <td style="text-align:left;">
                                <asp:Label ForeColor="DarkSlateGray" runat="server" Text="" ID="lblRedeemedEventsStatus"></asp:Label>
                            </td>
                        </tr>
                    </asp:PlaceHolder>
                    <asp:PlaceHolder runat="server" ID="plhQualifyingEventStatus" Visible="false">
                        
                            <tr valign=top>
                                <td width="156" valign="top" style="text-align:right;font-weight:bold">
                                    Qualifying Events
                                </td>
                                <td>&nbsp;&nbsp;</td>
                                <td style="text-align:left;">
                                    <asp:Label ForeColor="DarkSlateGray" runat="server" Text="" ID="lblQualifyingEventsStatus"></asp:Label>
                                </td>
                            </tr>
                    </asp:PlaceHolder>
                </table>
                <br />
            </td>
           </tr>
        <tr>
        <td style="padding: 5px 10px 5px 10px;">
                <!--<a href="javascript:history.go(-1)">&lt;&lt;&nbsp;Go Back</a> &nbsp;-->
                <asp:PlaceHolder ID="plhCouponStatusGoBack" Visible="true" runat="server">
                <a href="../Account/RedeemCoupon.aspx">&lt;&lt;&nbsp;Go Back</a> &nbsp;</asp:PlaceHolder>
                
            </td>
        </tr>
        <tr>
            <td align="center" colspan="4"><br />
            </td>
        </tr>
    </table>
    </div>
    <!-- end content area -->
</asp:Panel>
<asp:Panel runat="server" ID="pnlRedemptionHistory" Visible="false">
    <div class="RedemptionHistoryHeader" style="width: 632px;">

          
    <table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td class="RedemptionHistoryHeader2" align="left"><p>My Redemption History</p></td>
    <asp:PlaceHolder ID="plhRedemptionHistoryAccountOverview" Visible="true" runat="server">
    <td class="RedemptionHistoryHeader2" align="right"><p><a href="../Account/MyAccount.aspx"><u>Return to My Account Overview</u></a></p></td></asp:PlaceHolder>
    </tr>
    </table>
    
    <table width="100%">
        <tr>
            <td style="padding: 5px 10px 5px 10px;">           
             <div id="summaryBox">
            <asp:Label runat="server" Visible="false" ID="lblHistoryErrorMessage" ForeColor="Red"
                Text="errLabel for History"></asp:Label></div>
                </td>
        </tr> 
        <tr>
            <td>
                <br />
            </td>
        </tr>       
    </table>
    <asp:PlaceHolder runat="server" ID="plhRedemptionDetails">
    <table width="100%" align="center" style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 11px;color: #666666;border: 0px solid #666666; border-collapse:collapse">
    <tr>
        <td colspan="2" align="right" valign="top" style="padding: 5px 10px 5px 10px;">
                    <asp:PlaceHolder ID="plhRedemtionHistoryPrintIcon" Visible="true" runat="server"><a target="_blank" href="../Account/CouponPrint.aspx?Print=History">
                    <img alt="Print" src="../Images/print.gif" /> Print</a></asp:PlaceHolder>
                    <asp:Label Visible="false" runat= "server" ID="lblRedemptionHistoryClose" Text="<a href='#' onclick='window.close();'>Close this Window </a>"></asp:Label>
            </td>
        </tr>
    <tr>
            <td colspan="2" align="left" style="padding: 5px 10px 5px 10px;">
                <asp:Label Font-Size="12px" Font-Bold="true" runat="server" ID="lblRedemptionHistoryTitle"
                    Text="Coupon/Rebate Redemption Details"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="left" style="padding: 5px 10px 5px 10px;">
                <asp:DataGrid CellPadding="3" BorderWidth="0px" EnableViewState="true" runat="server" ID="dgRedemptionDetails" 
                    GridLines="Both" AutoGenerateColumns="false" AllowPaging="True"
                    PageSize="20" Width="100%">
                    <HeaderStyle VerticalAlign="Middle" HorizontalAlign="Center" BorderWidth="1px" 
                         Font-Bold="True" BackColor="#F1F1F1"  />
                         
                    <PagerStyle Font-Bold="true" Height="20px" VerticalAlign="Middle" BorderWidth="0" Position="Bottom" Mode="NextPrev" NextPageText="Next >" PrevPageText="< Back" 
                        HorizontalAlign="Left" BorderStyle="None" />
                        <AlternatingItemStyle BackColor="#F1F1F1" />
                    <Columns>
                        <asp:BoundColumn HeaderStyle-BorderWidth="1px" DataField="CouponID" HeaderText="Coupon/Rebate Number">
                            
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" Height="40px" Width="17%" Wrap="False" />
                            
                        </asp:BoundColumn>
                        <asp:BoundColumn  HeaderStyle-BorderWidth="1px" DataField="CouponDescription" HeaderText="Coupon/Rebate Details">
                            
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px"  Width="38%" Height="40px" />
                        </asp:BoundColumn>
                        <asp:BoundColumn HeaderStyle-BorderWidth="1px" DataField="CouponOffer" HeaderText="Offer Value" DataFormatString="{0:C2}">
                            
                            <ItemStyle HorizontalAlign="Right" VerticalAlign="Middle" BorderWidth="1px" Width="10%" Height="40px" Wrap="False" />
                        </asp:BoundColumn>
                        <asp:BoundColumn HeaderStyle-BorderWidth="1px" DataField="RedemptionDate" HeaderText="Redemption Date">
                            
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" Height="40px"  Width="14%" Wrap="False" />
                        </asp:BoundColumn>
                        <asp:BoundColumn HeaderStyle-BorderWidth="1px" DataField="ConfirmationNumber" HeaderText="Confirmation Number">
                            
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" Height="40px"  Width="21%" Wrap="False" />
                        </asp:BoundColumn>
                    </Columns>
                </asp:DataGrid>
            </td>
        </tr>
         
    </table>
    </asp:PlaceHolder>
    <asp:PlaceHolder runat="server" ID="plhQualifyingEventDetails">
    
            
                <table width="100%" align="center" style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 11px;color: #666666;border: 0px solid #666666; border-collapse:collapse">
                 
                 <tr>
        <td>
        <br />
        </td>
    </tr> 
        <tr >
            <td align="left" colspan="2" style="padding: 5px 10px 5px 10px;">
                <asp:Label Font-Size="12px" Font-Bold="true" runat="server" ID="lblQualifyingEvents"
                    Text="Qualifying Events" />
            </td>
        </tr>
                    <tr>
                        <td align="left" colspan="2" style="padding: 5px 10px 5px 10px;">
                            <asp:DataGrid CellPadding="3" EnableViewState="true" runat="server" ID="dgQualifyingEvents"
                                AutoGenerateColumns="false" AllowPaging="True" BorderWidth="0px"
                                PageSize="20" Width="100%">
                                <HeaderStyle BorderWidth="1px" VerticalAlign="Middle" HorizontalAlign="Center"  Font-Bold="True" BackColor="#F1F1F1" />
                    <PagerStyle BorderStyle="None"  Font-Bold="true" Position="Bottom" Mode="NextPrev" NextPageText="Next >" PrevPageText="< Back" VerticalAlign="Bottom"
                        HorizontalAlign="Left" />
                        <AlternatingItemStyle BackColor="#F1F1F1" />
                                <Columns>
                                    <asp:BoundColumn HeaderStyle-Height="25px" HeaderStyle-BorderWidth="1px" DataField="CouponID" HeaderText="Coupon/Rebate Number">
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" Height="40px" Width="18%" Wrap="False" />
                                    </asp:BoundColumn>
                                    <asp:BoundColumn HeaderStyle-Height="25px" HeaderStyle-BorderWidth="1px" DataField="RedeemedTitle" HeaderText="Redeemed Event">
                                        
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" Height="40px" Width="41%" Wrap="False" />
                                    </asp:BoundColumn>
                                    <asp:BoundColumn HeaderStyle-Height="25px" HeaderStyle-BorderWidth="1px" DataField="QualifyingTitle" HeaderText="Qualifying Events">
                                        
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" Height="40px" Width="41%" Wrap="False" />
                                    </asp:BoundColumn>
                                </Columns>
                            </asp:DataGrid>
                        </td>
                    </tr>
                    
                </table>
           
    </asp:PlaceHolder>
    <br />
    <asp:PlaceHolder ID="plhRedemptionHistoryGoBack" Visible="true" runat="server">
    <table>
        <tr>
        <td>
      &nbsp;&nbsp;&nbsp;&nbsp;
      </td>
                  <td>
                <asp:LinkButton runat="server" ID="lbRedeemFromHistory" Text="Click here" />
                to redeem a coupon/rebate
            </td>
        </tr>
         <tr>
        <td>
        <br />
        </td>
    </tr> 
    </table>
    </asp:PlaceHolder>
    <!-- end content area -->
    </div>
</asp:Panel>
<asp:Panel runat="server" ID="pnlCouponSystemUnavailable" Visible="false">
    <uc:CustomContent ContentKey="Support:CouponSystemUnavailable" runat="server" ID="ucCouponSystemUnavailable" />
</asp:Panel>
