Formview ChangeMode Problem

Discussion in 'ASP .Net' started by Trev, Feb 8, 2007.

  1. Trev

    Trev Guest

    Hi,

    I'm hoping that someone in this group can shed some light on an issue
    I'm having with a Formview.

    I have a Web User Control (.ascx) with a Formview. The Formview
    contains 2 Multiviews, one in the EditItemTemplate and one in the
    InsertItemTemplate. Each of those Multiviews contains several Views,
    and each view contains several controls such as textboxes, checkboxes
    etc. Those controls are bound to the Formview's datasource, which is a
    SQLDataSource.

    The ascx itself is Registered in an aspx page.

    <%@ Register Src="Bindery.ascx" TagName="Bindery" TagPrefix="uc2" %>

    The page checks to see if there is a record in the database or not, if
    there is a record, the Formview goes into Edit Mode, if there is not a
    record it goes into Insert Mode:

    Dim intBindInfo As Integer = GetBindInfo(intJobNum)
    If intBindInfo = 0 Then

    frvBindery.ChangeMode(FormViewMode.Insert)

    Else

    frvBindery.ChangeMode(FormViewMode.Edit)

    End If

    Once in Edit Mode, I can get references to the controls using
    FindControl with no issues, works great!

    <b>However, when it goes into Insert Mode I cannot get references to
    the controls in the Multiview in the InsertItemTemplate!</b>

    Here is an example of how I am attempting to reference the controls in
    the Insert Multiview:

    Dim mvwBinderyInsert As MultiView =
    frvBindery.FindControl("MultiViewInsert")
    Dim rdo1 As RadioButton = frvBindery.FindControl("rdo1")

    I have included the .ascx code below.

    Does anyone have any clue as to why this might be happening besides
    the fact that I'm a newbie with ASP.NET?

    Thank you in advance!

    Trev

    PS I know this is a lot of code but I thought it might be helpful to
    include the entire ascx.

    <%@ Control Language="VB" AutoEventWireup="false"
    CodeFile="Bindery.ascx.vb" Inherits="Bindery" %>
    <%@ Register Assembly="RadComboBox.Net2"
    Namespace="Telerik.WebControls" TagPrefix="radC" %>
    <%@ Register Assembly="RadTreeView.Net2"
    Namespace="Telerik.WebControls" TagPrefix="radT" %>
    <link href="Controls.css" rel="stylesheet" type="text/css" />


    <asp:Label id="Label1" runat="server" Font-Names="Arial" Font-
    Bold="True"></asp:Label>
    <asp:FormView ID="frvBindery" runat="server" DefaultMode="Edit"
    DataSourceID="dsBindery">
    <EditItemTemplate>
    <div style="text-align: left">
    <table cellpadding="5" border="0">
    <tr>
    <td align="left" colspan="6" valign="top">
    <b style="font-size: small; font-family:
    Arial">Bind Information &nbsp;
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Bind Method:</td>
    <td align="left" valign="top" colspan="3">
    <asp:DropDownList ID="DropDownList1"
    runat="server" DataSourceID="dsBindMethod"
    DataTextField="strBindMethod"
    DataValueField="intBindMethodID"
    Enabled="False" SelectedValue='<%# Eval("intBindMethodID") %>'
    Width="392px">
    </asp:DropDownList></td>
    <td align="right" style="width: 100px" valign="top">

    <asp:ImageButton
    ID="imbUpdate"
    runat="server"
    AlternateText="Update"
    CommandName="Update"
    ImageUrl="~/Images/UpdateCheck.gif"
    TabIndex="5"
    ImageAlign="Left" /></td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Bind Quantity:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:TextBox ID="TextBox1" runat="server"
    Enabled="False" Text='<%# Eval("intBindQty") %>'></asp:TextBox></td>
    <td align="right" style="width: 127px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Shrinkwrap:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:CheckBox ID="CheckBox6" runat="server"
    Checked='<%# Bind("intShrinkWrap") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Packages Of:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="TextBox7" runat="server" Text='<
    %# Bind("intPackagesOf") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Package w/Label:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:CheckBox ID="CheckBox7" runat="server"
    Checked='<%# Bind("blnWithLabel") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Label By:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="TextBox8" runat="server" Text='<
    %# Bind("strLabelBy") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Mailing:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:CheckBox ID="CheckBox8" runat="server"
    Checked='<%# Bind("intMailing") %>' /></td>
    <td align="right" style="width: 127px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    </table>
    <table cellpadding="5" border="0">
    <tr>
    <td align="left" colspan="6" valign="top">
    &nbsp; &nbsp;&nbsp;
    <asp:Label ID="lblBindMethodSetting"
    runat="server" Font-Names="Arial Black" Font-Size="Small"
    Style="font-family: Arial" Text='<%#
    Eval("strBindMethod") %>' Width="480px"></asp:Label></td>
    </tr>
    </table>
    <table cellpadding="5" border="0">
    <tr>
    <td align="left" colspan="6" valign="top"
    style="width: 648px">

    <br />
    <asp:MultiView ID="MultiViewEdit" runat="server">
    <asp:View ID="vwPerfect" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    4 Score Cover:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton10" runat="server"
    Checked='<%# Bind("blnFourScoreCover") %>'
    GroupName="PerfectScoreCover" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Number of Holes:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="TextBox4" runat="server" Text='<
    %# Bind("intPerfectNumDrillHoles") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    2 Score Cover:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton11" runat="server"
    Checked='<%# Bind("blnTwoScoreCover") %>'
    GroupName="PerfectScoreCover" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Hole Diameter:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="TextBox5" runat="server" Text='<
    %# Bind("decPerfectHoleSize") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px" valign="top">
    </td>
    <td align="left" style="width: 131px" valign="top">
    </td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Distance From Gutter Edge:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="TextBox6" runat="server" Text='<
    %# Bind("intPerfectDistanceEdge") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; height: 34px;"
    valign="top">
    </td>
    <td align="left" style="width: 131px; height: 34px;"
    valign="top">
    </td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial; height: 34px;" valign="top">
    Distance From Perf:</td>
    <td align="left" style="width: 100px; height: 34px;"
    valign="top">
    <asp:TextBox ID="TextBox9" runat="server" Text='<
    %# Bind("intPerfectDistancePerf") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px; height: 34px;"
    valign="top">
    </td>
    <td align="left" style="width: 100px; height: 34px;"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" valign="top" style="width: 104px;
    height: 39px;">
    </td>
    <td align="left" valign="top" style="width: 131px;
    height: 39px;">
    &nbsp;</td>
    <td align="right" valign="top" style="width: 127px;
    height: 39px;">
    </td>
    <td align="left" valign="top" style="height: 39px">
    &nbsp;</td>
    <td align="right" valign="top" style="height: 39px">
    </td>
    <td align="left" valign="top" style="height: 39px">
    &nbsp;</td>

    </tr>
    </table>
    </asp:View>

    <asp:View ID="vwSaddleStitch" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    3 Wires:</td>
    <td align="left" style="width: 131px;" valign="top">
    <asp:RadioButton ID="RadioButton14" runat="server"
    Checked='<%# Bind("blnThreeWire") %>'
    GroupName="SaddleStitchWire" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Number of Holes:</td>
    <td align="left" style="width: 100px;" valign="top">
    <asp:TextBox ID="TextBox11" runat="server" Text='<
    %# Bind("intSaddleNumDrillHoles") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px;" valign="top">
    </td>
    <td align="left" style="width: 100px;" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    2 Wires:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton15" runat="server"
    Checked='<%# Bind("blnTwoWire") %>'
    GroupName="SaddleStitchWire" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Hole Diameter:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="TextBox12" runat="server" Text='<
    %# Bind("decSaddleHoleSize") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    1 Wire:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton16" runat="server"
    Checked='<%# Bind("blnOneWire") %>'
    GroupName="SaddleStitchWire" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Distance From Gutter Edge:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="TextBox13" runat="server" Text='<
    %# Bind("intSaddleDistanceEdge") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Nest:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton17" runat="server"
    Checked='<%# Bind("blnNest") %>'
    GroupName="SaddleStitchWire" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial; height: 34px;" valign="top">
    Distance From Perf:</td>
    <td align="left" style="width: 100px; height: 34px;"
    valign="top">
    <asp:TextBox ID="TextBox10" runat="server" Text='<
    %# Bind("intSaddleDistancePerf") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px; height: 34px;"
    valign="top">
    </td>
    <td align="left" style="width: 100px; height: 34px;"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" valign="top" style="width: 104px">
    </td>
    <td align="left" valign="top" style="width: 131px">
    &nbsp;</td>
    <td align="right" valign="top" style="width: 127px">
    </td>
    <td align="left" valign="top">
    &nbsp;</td>
    <td align="right" valign="top">
    </td>
    <td align="left" valign="top">
    &nbsp;</td>

    </tr>
    </table>
    </asp:View>
    <asp:View ID="vwSpiral" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Wire Color:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:TextBox ID="TextBox14" runat="server" Text='<
    %# Bind("strWireColor") %>'></asp:TextBox></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Pitch:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton1" runat="server"
    Text="250" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("blnSpiral250Pitch") %>' GroupName="SpiralPitch" /><br />
    <asp:RadioButton ID="RadioButton2" runat="server"
    Text="400" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("blnSpiral400Pitch") %>' GroupName="SpiralPitch" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Gauge:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton3" runat="server"
    Text="41" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("bln41Guage") %>' GroupName="SpiralGuage" /><br />
    <asp:RadioButton ID="RadioButton4" runat="server"
    Text="51" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("bln51Guage") %>' GroupName="SpiralGuage" /><br />
    <asp:RadioButton ID="RadioButton5" runat="server"
    Text="55" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("bln55Guage") %>' GroupName="SpiralGuage" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    <asp:View ID="vwPlasticCoil" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Color:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:TextBox ID="TextBox15" runat="server" Text='<
    %# Bind("strWireColor") %>'></asp:TextBox></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Pitch:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton6" runat="server"
    Text="250" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("blnPlasticCoil250Pitch") %>' GroupName="PlasticCoilPitch" /><br /
    >

    <asp:RadioButton ID="RadioButton7" runat="server"
    Text="400" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("blnPlasticCoil400Pitch") %>' GroupName="PlasticCoilPitch" /></
    td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Hole Style:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton8" runat="server"
    Text="Round" style="font-size: x-small; font-family: Arial" Checked='<
    %# Bind("blnPlasticCoilHoleStyleRound") %>'
    GroupName="PlasticCoilHoleStyle" /><br />
    <asp:RadioButton ID="RadioButton9" runat="server"
    Text="DD" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("blnHoleStyleDD") %>' GroupName="PlasticCoilHoleStyle" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 104px; font-family: Arial"
    valign="top">
    Coil Diameter:</td>
    <td align="left" style="width: 131px"
    valign="top">
    <asp:TextBox ID="TextBox2" runat="server"
    Text='<%# Bind("decCoilDiameter") %>'></asp:TextBox></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    <asp:View ID="vwWireO" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Color:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:TextBox ID="TextBox16" runat="server" Text='<
    %# Bind("strWireColor") %>'></asp:TextBox></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Hole Style:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton12" runat="server"
    Text="Round" style="font-size: x-small; font-family: Arial" Checked='<
    %# Bind("blnWireOHoleStyleRound") %>' GroupName="WireOHoleStyle" /
    ><br />

    <asp:RadioButton ID="RadioButton13" runat="server"
    Text="Square" style="font-size: x-small; font-family: Arial" Checked='<
    %# Bind("blnHoleStyleSquare") %>' GroupName="WireOHoleStyle" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 104px; font-family: Arial"
    valign="top">
    Size & Loop:</td>
    <td align="left" style="width: 131px"
    valign="top">
    <asp:TextBox ID="TextBox3" runat="server"
    Text='<%# Bind("strSizeAndLoop") %>'></asp:TextBox></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    <asp:View ID="vwCaseBindMcCain" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Case In:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:RadioButton ID="RadioButton18" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindMcCain" Text="Tightback/
    Roundback" Checked='<%# Bind("blnMcCainTightBackRoundBack") %>' /><br /
    >

    <asp:RadioButton ID="RadioButton19" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindMcCain" Text="Tightback/
    Flatback" Checked='<%# Bind("blnMcCainTightBackFlatBack") %>' /><br />
    <asp:RadioButton ID="RadioButton20" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindMcCain" Text="Tightback/
    Squareback (3 piece)" Width="232px" Checked='<%#
    Bind("blnMcCainTightBackSquareBack") %>' /><br />
    <asp:RadioButton ID="RadioButton21" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindMcCain" Text="Looseback/
    Roundback" Checked='<%# Bind("blnMcCainLooseBackRoundBack") %>' /><br /
    >

    <asp:RadioButton ID="RadioButton22" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindMcCain" Text="Looseback/
    Flatback" Checked='<%# Bind("blnMcCainLooseBackFlatBack") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Milled Adhesive with Crash:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox16" runat="server"
    Checked='<%# Bind("blnMcCainMilledAdhesive") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Reinforce with Super Gauze:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox17" runat="server"
    Checked='<%# Bind("blnMcCainReinforceSuper") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Kraft Liner w/ Headbands:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:CheckBox ID="CheckBox1" runat="server"
    Checked='<%# Bind("blnMcCainKraftHeadbands") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial"
    valign="top">
    Headband Color:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:TextBox ID="TextBox18" runat="server"
    Text='<%# Bind("strMcCainHeadbandColor") %>' Width="232px"></
    asp:TextBox></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Cover Prints at Outside Vendor:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox2" runat="server"
    Checked='<%# Bind("blnMcCainCoverOutsource") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Binders Board for Wrapping 3 Piece Case:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:RadioButton ID="RadioButton23"
    runat="server" Font-Names="Arial" Font-Size="Smaller"
    Text="88 pt" Checked='<%#
    Bind("blnMcCainBinders88PT") %>' GroupName="BindersBoard" /><br />
    <asp:RadioButton ID="RadioButton24"
    runat="server" Font-Names="Arial" Font-Size="Smaller"
    Text="98 pt" Checked='<%#
    Bind("blnMcCainBinders98PT") %>' GroupName="BindersBoard" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Drilled Front Endsheet:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox3" runat="server"
    Checked="True" Enabled="False" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Drilled Back Endsheet:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox4" runat="server"
    Checked="True" Enabled="False" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    All Endsheet Assemblies and Printing to be
    Outsourced:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox5" runat="server"
    Checked='<%# Bind("blnMcCainAllEndsheetPrintingOutsourced") %>' /></
    td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    <asp:View ID="vwCaseBindAdhesive" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Case In:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:RadioButton ID="RadioButton25" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindAdhesive" Text="Tightback/
    Roundback" Checked='<%# Bind("blnAdhTightBackRoundBack") %>' /><br />
    <asp:RadioButton ID="RadioButton26" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindAdhesive" Text="Tightback/
    Flatback" Checked='<%# Bind("blnAdhTightBackFlatBack") %>' /><br />
    <asp:RadioButton ID="RadioButton27" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindAdhesive" Text="Tightback/
    Squareback (3 piece)" Width="232px" Checked='<%#
    Bind("blnAdhTightBackSquareBack") %>' /><br />
    <asp:RadioButton ID="RadioButton28" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindAdhesive" Text="Looseback/
    Roundback" Checked='<%# Bind("blnAdhLooseBackRoundBack") %>' /><br />
    <asp:RadioButton ID="RadioButton29" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindAdhesive" Text="Looseback/
    Flatback" Checked='<%# Bind("blnAdhLooseBackFlatBack") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Milled Adhesive with Crash:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox18" runat="server"
    Checked='<%# Bind("blnAdhMilledAdhesive") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Reinforce with Super Gauze:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox19" runat="server"
    Checked='<%# Bind("blnAdhReinforceSuper") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Kraft Liner w/ Headbands:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:CheckBox ID="CheckBox9" runat="server"
    Checked='<%# Bind("blnAdhKraftHeadbands") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial"
    valign="top">
    Headband Color:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:TextBox ID="TextBox17" runat="server"
    Text='<%# Bind("strAdhHeadbandColor") %>' Width="232px"></
    asp:TextBox></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Cover Prints at Outside Vendor:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox10" runat="server"
    Checked='<%# Bind("blnAdhCoverOutsource") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Binders Board for Wrapping 3 Piece Case:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:RadioButton ID="RadioButton30"
    runat="server" Font-Names="Arial" Font-Size="Smaller"
    Text="88 pt" Checked='<%#
    Bind("blnAdhBinders88PT") %>' GroupName="BindersBoard2" /><br />
    <asp:RadioButton ID="RadioButton31"
    runat="server" Font-Names="Arial" Font-Size="Smaller"
    Text="98 pt" Checked='<%#
    Bind("blnAdhBinders98PT") %>' GroupName="BindersBoard2" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Tabbed Front Endsheet:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox11" runat="server"
    Checked="True" Enabled="False" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Tabbed Back Endsheet:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox12" runat="server"
    Checked="True" Enabled="False" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    All Endsheet Assemblies and Printing to be
    Outsourced:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox13" runat="server"
    Checked='<%# Bind("blnAdhAllEndsheetPrintingOutsourced") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    <asp:View ID="vwCaseBindSmyth" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Case In:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:RadioButton ID="RadioButton32" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindSmyth" Text="Tightback/
    Roundback" Checked='<%# Bind("blnSmythTightBackRoundBack") %>' /><br /
    >

    <asp:RadioButton ID="RadioButton33" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindSmyth" Text="Tightback/
    Flatback" Checked='<%# Bind("blnSmythTightBackFlatBack") %>' /><br />
    <asp:RadioButton ID="RadioButton34" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindSmyth" Text="Tightback/
    Squareback (3 piece)" Width="232px" Checked='<%#
    Bind("blnSmythTightBackSquareBack") %>' /><br />
    <asp:RadioButton ID="RadioButton35" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindSmyth" Text="Looseback/
    Roundback" Checked='<%# Bind("blnSmythLooseBackRoundBack") %>' /><br /
    >

    <asp:RadioButton ID="RadioButton36" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindSmyth" Text="Looseback/
    Flatback" Checked='<%# Bind("blnSmythLooseBackFlatBack") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Do Not Perf Signature Backbones:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:CheckBox ID="CheckBox14" runat="server"
    Checked='<%# Bind("blnDoNotPerfSigBackbones") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial"
    valign="top">
    Outsource Sewing/Bookblocks:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox15" runat="server"
    Checked='<%# Bind("blnOutsourceSewingBookblocks") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    </asp:MultiView>&nbsp;

    </td>
    </tr>
    <tr>
    <td align="left">


    </td>
    </tr>
    </table>


    </div>
    &nbsp;
    <br />

    </EditItemTemplate>

    <InsertItemTemplate>
    <div style="text-align: left">
    <table cellpadding="5" border="0">
    <tr>
    <td align="left" colspan="6" valign="top">
    <b style="font-size: small; font-family:
    Arial">Bind Information &nbsp;
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Bind Method:</td>
    <td align="left" valign="top" colspan="3">
    <asp:DropDownList ID="ddlBindMethod"
    runat="server" Enabled="False"
    Width="392px">
    </asp:DropDownList></td>
    <td align="right" style="width: 100px" valign="top">
    <asp:ImageButton
    ID="imbInsert"
    runat="server"
    AlternateText="Insert"
    CommandName="Insert"
    ImageUrl="~/Images/InsertLarge.gif"
    TabIndex="5"
    ImageAlign="Left" /></td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Bind Quantity:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:TextBox ID="txtBindQuantity" runat="server"
    Enabled="False" Text='<%# Eval("intBindQty") %>'></asp:TextBox></td>
    <td align="right" style="width: 127px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Shrinkwrap:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:CheckBox ID="cbShrinkwrap" runat="server"
    Checked='<%# Bind("intShrinkWrap") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Packages Of:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="txtPackagesOf" runat="server"
    Text='<%# Bind("intPackagesOf") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Package w/Label:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:CheckBox ID="cbPackageLabel" runat="server"
    Checked='<%# Bind("blnWithLabel") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Label By:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="txtLabelBy" runat="server" Text='<
    %# Bind("strLabelBy") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Mailing:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:CheckBox ID="cbMailing" runat="server"
    Checked='<%# Bind("intMailing") %>' /></td>
    <td align="right" style="width: 127px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    </table>
    <table cellpadding="5" border="0">
    <tr>
    <td align="left" colspan="6" valign="top">
    &nbsp; &nbsp;&nbsp;
    <asp:Label ID="lblBindMethodSetting2"
    runat="server" Font-Names="Arial Black" Font-Size="Small"
    Style="font-family: Arial" Text='<%#
    Eval("strBindMethod") %>' Width="480px"></asp:Label></td>
    </tr>
    </table>
    <table cellpadding="5" border="0">
    <tr>
    <td align="left" colspan="6" valign="top"
    style="width: 648px">

    <br />
    <asp:MultiView ID="MultiViewInsert" runat="server">
    <asp:View ID="vwInsertPerfect" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    4 Score Cover:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="rdo4ScoreCover"
    runat="server" Checked='<%# Bind("blnFourScoreCover") %>'
    GroupName="PerfectScoreCover" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Number of Holes:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="txtNumHoles" runat="server"
    Text='<%# Bind("intNumDrillHoles") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    2 Score Cover:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="rdo2ScoreCover"
    runat="server" Checked='<%# Bind("blnTwoScoreCover") %>'
    GroupName="PerfectScoreCover" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Hole Diameter:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="txtHoleDiameter" runat="server"
    Text='<%# Bind("decHoleSize") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px" valign="top">
    </td>
    <td align="left" style="width: 131px" valign="top">
    </td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Distance From Gutter Edge:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="txtDistFromGutter" runat="server"
    Text='<%# Bind("intDistanceEdge") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; height: 34px;"
    valign="top">
    </td>
    <td align="left" style="width: 131px; height: 34px;"
    valign="top">
    </td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial; height: 34px;" valign="top">
    Distance From Perf:</td>
    <td align="left" style="width: 100px; height: 34px;"
    valign="top">
    <asp:TextBox ID="txtDistFromPerf" runat="server"
    Text='<%# Bind("intDistancePerf") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px; height: 34px;"
    valign="top">
    </td>
    <td align="left" style="width: 100px; height: 34px;"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" valign="top" style="width: 104px;
    height: 39px;">
    </td>
    <td align="left" valign="top" style="width: 131px;
    height: 39px;">
    &nbsp;</td>
    <td align="right" valign="top" style="width: 127px;
    height: 39px;">
    </td>
    <td align="left" valign="top" style="height: 39px">
    &nbsp;</td>
    <td align="right" valign="top" style="height: 39px">
    </td>
    <td align="left" valign="top" style="height: 39px">
    &nbsp;</td>

    </tr>
    </table>
    </asp:View>

    <asp:View ID="vwInsertSaddleStitch" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    3 Wires:</td>
    <td align="left" style="width: 131px;" valign="top">
    <asp:RadioButton ID="RadioButton14" runat="server"
    Checked='<%# Bind("blnThreeWire") %>'
    GroupName="SaddleStitchWire" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Number of Holes:</td>
    <td align="left" style="width: 100px;" valign="top">
    <asp:TextBox ID="TextBox11" runat="server" Text='<
    %# Bind("intNumDrillHoles") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px;" valign="top">
    </td>
    <td align="left" style="width: 100px;" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    2 Wires:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton15" runat="server"
    Checked='<%# Bind("blnTwoWire") %>'
    GroupName="SaddleStitchWire" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Hole Diameter:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="TextBox12" runat="server" Text='<
    %# Bind("decHoleSize") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    1 Wire:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton16" runat="server"
    Checked='<%# Bind("blnOneWire") %>'
    GroupName="SaddleStitchWire" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    Distance From Gutter Edge:</td>
    <td align="left" style="width: 100px" valign="top">
    <asp:TextBox ID="TextBox13" runat="server" Text='<
    %# Bind("intDistanceEdge") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Nest:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton17" runat="server"
    Checked='<%# Bind("blnNest") %>'
    GroupName="SaddleStitchWire" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial; height: 34px;" valign="top">
    Distance From Perf:</td>
    <td align="left" style="width: 100px; height: 34px;"
    valign="top">
    <asp:TextBox ID="TextBox10" runat="server" Text='<
    %# Bind("intDistancePerf") %>'></asp:TextBox></td>
    <td align="right" style="width: 100px; height: 34px;"
    valign="top">
    </td>
    <td align="left" style="width: 100px; height: 34px;"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" valign="top" style="width: 104px">
    </td>
    <td align="left" valign="top" style="width: 131px">
    &nbsp;</td>
    <td align="right" valign="top" style="width: 127px">
    </td>
    <td align="left" valign="top">
    &nbsp;</td>
    <td align="right" valign="top">
    </td>
    <td align="left" valign="top">
    &nbsp;</td>

    </tr>
    </table>
    </asp:View>
    <asp:View ID="vwInsertSpiral" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Wire Color:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:TextBox ID="TextBox14" runat="server" Text='<
    %# Bind("strWireColor") %>'></asp:TextBox></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Pitch:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="rdo1" runat="server"
    Text="250" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("blnSpiral250Pitch") %>' GroupName="SpiralPitch" /><br />
    <asp:RadioButton ID="rdo2" runat="server"
    Text="400" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("blnSpiral400Pitch") %>' GroupName="SpiralPitch" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Gauge:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="rdo3" runat="server"
    Text="41" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("bln41Guage") %>' GroupName="SpiralGuage" /><br />
    <asp:RadioButton ID="rdo4" runat="server"
    Text="51" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("bln51Guage") %>' GroupName="SpiralGuage" /><br />
    <asp:RadioButton ID="rdo5" runat="server"
    Text="55" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("bln55Guage") %>' GroupName="SpiralGuage" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    <asp:View ID="vwInsertPlasticCoil" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Color:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:TextBox ID="TextBox15" runat="server" Text='<
    %# Bind("strWireColor") %>'></asp:TextBox></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Pitch:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="rdo6" runat="server"
    Text="250" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("blnPlasticCoil250Pitch") %>' GroupName="PlasticCoilPitch" /><br /
    >

    <asp:RadioButton ID="rdo7" runat="server"
    Text="400" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("blnPlasticCoil400Pitch") %>' GroupName="PlasticCoilPitch" /></
    td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Hole Style:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="rdo8" runat="server"
    Text="Round" style="font-size: x-small; font-family: Arial" Checked='<
    %# Bind("blnPlasticCoilHoleStyleRound") %>'
    GroupName="PlasticCoilHoleStyle" /><br />
    <asp:RadioButton ID="rdo9" runat="server"
    Text="DD" style="font-size: x-small; font-family: Arial" Checked='<%#
    Bind("blnHoleStyleDD") %>' GroupName="PlasticCoilHoleStyle" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 104px; font-family: Arial"
    valign="top">
    Coil Diameter:</td>
    <td align="left" style="width: 131px"
    valign="top">
    <asp:TextBox ID="TextBox2" runat="server"
    Text='<%# Bind("decCoilDiameter") %>'></asp:TextBox></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    <asp:View ID="vwInsertWireO" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Color:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:TextBox ID="TextBox16" runat="server" Text='<
    %# Bind("strWireColor") %>'></asp:TextBox></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 104px; font-size: x-
    small; font-family: Arial;" valign="top">
    Hole Style:</td>
    <td align="left" style="width: 131px" valign="top">
    <asp:RadioButton ID="RadioButton12" runat="server"
    Text="Round" style="font-size: x-small; font-family: Arial" Checked='<
    %# Bind("blnWireOHoleStyleRound") %>' GroupName="WireOHoleStyle" /
    ><br />

    <asp:RadioButton ID="RadioButton13" runat="server"
    Text="Square" style="font-size: x-small; font-family: Arial" Checked='<
    %# Bind("blnHoleStyleSquare") %>' GroupName="WireOHoleStyle" /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 104px; font-family: Arial"
    valign="top">
    Size & Loop:</td>
    <td align="left" style="width: 131px"
    valign="top">
    <asp:TextBox ID="TextBox3" runat="server"
    Text='<%# Bind("strSizeAndLoop") %>'></asp:TextBox></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    <asp:View ID="vwInsertCaseBindMcCain" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Case In:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:RadioButton ID="RadioButton18" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindMcCain" Text="Tightback/
    Roundback" Checked='<%# Bind("blnMcCainTightBackRoundBack") %>' /><br /
    >

    <asp:RadioButton ID="RadioButton19" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindMcCain" Text="Tightback/
    Flatback" Checked='<%# Bind("blnMcCainTightBackFlatBack") %>' /><br />
    <asp:RadioButton ID="RadioButton20" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindMcCain" Text="Tightback/
    Squareback (3 piece)" Width="232px" Checked='<%#
    Bind("blnMcCainTightBackSquareBack") %>' /><br />
    <asp:RadioButton ID="RadioButton21" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindMcCain" Text="Looseback/
    Roundback" Checked='<%# Bind("blnMcCainLooseBackRoundBack") %>' /><br /
    >

    <asp:RadioButton ID="RadioButton22" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindMcCain" Text="Looseback/
    Flatback" Checked='<%# Bind("blnMcCainLooseBackFlatBack") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Milled Adhesive with Crash:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox16" runat="server"
    Checked='<%# Bind("blnMcCainMilledAdhesive") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Reinforce with Super Gauze:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox17" runat="server"
    Checked='<%# Bind("blnMcCainReinforceSuper") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Kraft Liner w/ Headbands:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:CheckBox ID="CheckBox1" runat="server"
    Checked='<%# Bind("blnMcCainKraftHeadbands") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial"
    valign="top">
    Headband Color:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:TextBox ID="TextBox18" runat="server"
    Text='<%# Bind("strMcCainHeadbandColor") %>' Width="232px"></
    asp:TextBox></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Cover Prints at Outside Vendor:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox2" runat="server"
    Checked='<%# Bind("blnMcCainCoverOutsource") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Binders Board for Wrapping 3 Piece Case:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:RadioButton ID="RadioButton23"
    runat="server" Font-Names="Arial" Font-Size="Smaller"
    Text="88 pt" Checked='<%#
    Bind("blnMcCainBinders88PT") %>' GroupName="BindersBoard" /><br />
    <asp:RadioButton ID="RadioButton24"
    runat="server" Font-Names="Arial" Font-Size="Smaller"
    Text="98 pt" Checked='<%#
    Bind("blnMcCainBinders98PT") %>' GroupName="BindersBoard" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Drilled Front Endsheet:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox3" runat="server"
    Checked="True" Enabled="False" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Drilled Back Endsheet:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox4" runat="server"
    Checked="True" Enabled="False" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    All Endsheet Assemblies and Printing to be
    Outsourced:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox5" runat="server"
    Checked='<%# Bind("blnMcCainAllEndsheetPrintingOutsourced") %>' /></
    td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    <asp:View ID="vwInsertCaseBindAdhesive"
    runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Case In:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:RadioButton ID="RadioButton25" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindAdhesive" Text="Tightback/
    Roundback" Checked='<%# Bind("blnAdhTightBackRoundBack") %>' /><br />
    <asp:RadioButton ID="RadioButton26" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindAdhesive" Text="Tightback/
    Flatback" Checked='<%# Bind("blnAdhTightBackFlatBack") %>' /><br />
    <asp:RadioButton ID="RadioButton27" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindAdhesive" Text="Tightback/
    Squareback (3 piece)" Width="232px" Checked='<%#
    Bind("blnAdhTightBackSquareBack") %>' /><br />
    <asp:RadioButton ID="RadioButton28" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindAdhesive" Text="Looseback/
    Roundback" Checked='<%# Bind("blnAdhLooseBackRoundBack") %>' /><br />
    <asp:RadioButton ID="RadioButton29" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindAdhesive" Text="Looseback/
    Flatback" Checked='<%# Bind("blnAdhLooseBackFlatBack") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Milled Adhesive with Crash:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox18" runat="server"
    Checked='<%# Bind("blnAdhMilledAdhesive") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Reinforce with Super Gauze:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox19" runat="server"
    Checked='<%# Bind("blnAdhReinforceSuper") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Kraft Liner w/ Headbands:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:CheckBox ID="CheckBox9" runat="server"
    Checked='<%# Bind("blnAdhKraftHeadbands") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial"
    valign="top">
    Headband Color:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:TextBox ID="TextBox17" runat="server"
    Text='<%# Bind("strAdhHeadbandColor") %>' Width="232px"></
    asp:TextBox></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Cover Prints at Outside Vendor:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox10" runat="server"
    Checked='<%# Bind("blnAdhCoverOutsource") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Binders Board for Wrapping 3 Piece Case:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:RadioButton ID="RadioButton30"
    runat="server" Font-Names="Arial" Font-Size="Smaller"
    Text="88 pt" Checked='<%#
    Bind("blnAdhBinders88PT") %>' GroupName="BindersBoard2" /><br />
    <asp:RadioButton ID="RadioButton31"
    runat="server" Font-Names="Arial" Font-Size="Smaller"
    Text="98 pt" Checked='<%#
    Bind("blnAdhBinders98PT") %>' GroupName="BindersBoard2" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Tabbed Front Endsheet:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox11" runat="server"
    Checked="True" Enabled="False" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    Tabbed Back Endsheet:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox12" runat="server"
    Checked="True" Enabled="False" /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial" valign="top">
    All Endsheet Assemblies and Printing to be
    Outsourced:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox13" runat="server"
    Checked='<%# Bind("blnAdhAllEndsheetPrintingOutsourced") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial" valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    <asp:View ID="vwInsertCaseBindSmyth" runat="server">

    <table cellpadding="5" border="0">
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Case In:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:RadioButton ID="RadioButton32" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindSmyth" Text="Tightback/
    Roundback" Checked='<%# Bind("blnSmythTightBackRoundBack") %>' /><br /
    >

    <asp:RadioButton ID="RadioButton33" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindSmyth" Text="Tightback/
    Flatback" Checked='<%# Bind("blnSmythTightBackFlatBack") %>' /><br />
    <asp:RadioButton ID="RadioButton34" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindSmyth" Text="Tightback/
    Squareback (3 piece)" Width="232px" Checked='<%#
    Bind("blnSmythTightBackSquareBack") %>' /><br />
    <asp:RadioButton ID="RadioButton35" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindSmyth" Text="Looseback/
    Roundback" Checked='<%# Bind("blnSmythLooseBackRoundBack") %>' /><br /
    >

    <asp:RadioButton ID="RadioButton36" runat="server"
    Font-Names="Arial" Font-Size="Smaller"
    GroupName="CaseBindSmyth" Text="Looseback/
    Flatback" Checked='<%# Bind("blnSmythLooseBackFlatBack") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="width: 929px; font-size: x-
    small; font-family: Arial;" valign="top">
    Do Not Perf Signature Backbones:</td>
    <td align="left" style="width: 132px" valign="top">
    <asp:CheckBox ID="CheckBox14" runat="server"
    Checked='<%# Bind("blnDoNotPerfSigBackbones") %>' /></td>
    <td align="right" style="width: 127px; font-size: x-
    small; font-family: Arial;" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    <td align="right" style="width: 100px" valign="top">
    </td>
    <td align="left" style="width: 100px" valign="top">
    </td>
    </tr>
    <tr>
    <td align="right" style="font-size: x-small;
    width: 929px; font-family: Arial"
    valign="top">
    Outsource Sewing/Bookblocks:</td>
    <td align="left" style="width: 132px"
    valign="top">
    <asp:CheckBox ID="CheckBox15" runat="server"
    Checked='<%# Bind("blnOutsourceSewingBookblocks") %>' /></td>
    <td align="right" style="font-size: x-small;
    width: 127px; font-family: Arial"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    <td align="right" style="width: 100px"
    valign="top">
    </td>
    <td align="left" style="width: 100px"
    valign="top">
    </td>
    </tr>
    </table>

    </asp:View>

    </asp:MultiView>&nbsp;

    </td>
    </tr>
    <tr>
    <td align="left">


    </td>
    </tr>
    </table>


    </div>
    &nbsp;
    <br />
    </InsertItemTemplate>
    </asp:FormView>
    Trev, Feb 8, 2007
    #1
    1. Advertising

  2. Trev

    Trev Guest

    I figured it out, I ended up putting this piece of code into the
    Formview's DataBound Event:

    Dim intBindInfo As Integer = GetBindInfo(intJobNum)
    If intBindInfo = 0 Then


    frvBindery.ChangeMode(FormViewMode.Insert)


    Else


    frvBindery.ChangeMode(FormViewMode.Edit)


    End If


    And sure enough the controls from the InsertItemTemplate's Multiview
    appeared!

    I hope this will help some poor soul down the road.

    Thanks to anyone who took a look at this.

    Trev
    Trev, Feb 8, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. J055
    Replies:
    1
    Views:
    12,049
    Walter Wang [MSFT]
    Aug 10, 2006
  2. J055
    Replies:
    5
    Views:
    729
    Walter Wang [MSFT]
    Aug 20, 2007
  3. R Bandeira
    Replies:
    0
    Views:
    403
    R Bandeira
    Sep 6, 2007
  4. rodchar

    formview changeMode

    rodchar, Dec 13, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    497
    rodchar
    Dec 17, 2007
  5. David Thielen

    FormView.ChangeMode(FormViewMode.Edit) not working

    David Thielen, Mar 2, 2007, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    651
    David Thielen
    Mar 4, 2007
Loading...

Share This Page