or
MasterTable.showColumn(
"0"
);
<
Columns
>
<
telerik:GridTemplateColumn
FilterControlAltText
=
"Filter TemplateColumn column"
UniqueName
=
"PrintColumn"
Visible
=
"False"
>
<
ItemTemplate
>
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
DataSourceID
=
"SqlDataSource1"
GridLines
=
"None"
>
<
MasterTableView
AutoGenerateColumns
=
"False"
DataSourceID
=
"SqlDataSource1"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to Pdf"
></
CommandItemSettings
>
<
Columns
>
<
telerik:GridTemplateColumn
DataField
=
"Step"
HeaderText
=
"Step"
SortExpression
=
"Step"
UniqueName
=
"Step"
>
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"StepTextBox"
runat
=
"server"
Text='<%# Bind("Step") %>'></
asp:TextBox
>
</
EditItemTemplate
>
<
ItemTemplate
>
<
asp:Label
ID
=
"StepLabel"
runat
=
"server"
Text='<%# SetStepLevel(Eval("Step"),Eval("StepLevel")) %>'></
asp:Label
>
<
asp:HiddenField
ID
=
"ARQADID"
runat
=
"server"
Value='<%# Eval("ARQADID") %>' />
<
asp:HiddenField
ID
=
"iUserID"
runat
=
"server"
Value='<%# Eval("iUserID") %>' />
<
asp:HiddenField
ID
=
"iIssueID"
runat
=
"server"
Value='<%# Eval("iIssueID") %>' />
<
asp:HiddenField
ID
=
"DateEntered"
runat
=
"server"
Value='<%# Eval("DateEntered") %>' />
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"Critical"
DataType
=
"System.Int32"
HeaderText
=
"Critical"
SortExpression
=
"Critical"
UniqueName
=
"Critical"
>
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"CriticalTextBox"
runat
=
"server"
Text='<%# Bind("Critical") %>'></
asp:TextBox
>
</
EditItemTemplate
>
<
ItemTemplate
>
<
asp:CheckBox
ID
=
"CriticalCheckBox"
runat
=
"server"
Checked='<%# Eval("Critical") %>' Visible='<%# Eval("Evaluate") %>' />
</
ItemTemplate
>
<
FooterStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
<
HeaderStyle
Width
=
"50px"
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"Pass"
DataType
=
"System.Int32"
HeaderText
=
"Pass"
SortExpression
=
"Pass"
UniqueName
=
"Pass"
>
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"PassTextBox"
runat
=
"server"
Text='<%# Bind("Pass") %>'></
asp:TextBox
>
</
EditItemTemplate
>
<
ItemTemplate
>
<
asp:RadioButton
ID
=
"PassRadioButton"
GroupName
=
"PassFailNA"
runat
=
"server"
Checked='<%# Eval("Pass") %>' Visible='<%# Eval("Evaluate") %>'/>
</
ItemTemplate
>
<
FooterStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
<
HeaderStyle
Width
=
"50px"
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"Fail"
DataType
=
"System.Int32"
HeaderText
=
"Fail"
SortExpression
=
"Fail"
UniqueName
=
"Fail"
>
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"FailTextBox"
runat
=
"server"
Text='<%# Bind("Fail") %>'></
asp:TextBox
>
</
EditItemTemplate
>
<
ItemTemplate
>
<
asp:RadioButton
ID
=
"FailRadioButton"
GroupName
=
"PassFailNA"
runat
=
"server"
Checked='<%# Eval("Fail") %>' Visible='<%# Eval("Evaluate") %>'/>
</
ItemTemplate
>
<
FooterStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
<
HeaderStyle
Width
=
"50px"
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"NA"
DataType
=
"System.Int32"
HeaderText
=
"NA"
SortExpression
=
"NA"
UniqueName
=
"NA"
>
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"NATextBox"
runat
=
"server"
Text='<%# Bind("NA") %>'></
asp:TextBox
>
</
EditItemTemplate
>
<
ItemTemplate
>
<
asp:RadioButton
ID
=
"NARadioButton"
GroupName
=
"PassFailNA"
runat
=
"server"
Checked='<%# Eval("NA") %>' Visible='<%# Eval("Evaluate") %>'/>
</
ItemTemplate
>
<
FooterStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
<
HeaderStyle
Width
=
"50px"
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Center"
Wrap
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"Notes"
HeaderText
=
"Notes"
SortExpression
=
"Notes"
UniqueName
=
"Notes"
>
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"NotesTextBox"
runat
=
"server"
Text='<%# Bind("Notes") %>'></
asp:TextBox
>
</
EditItemTemplate
>
<
ItemTemplate
>
<
asp:TextBox
ID
=
"NotesTextBox"
runat
=
"server"
TextMode
=
"Multiline"
Rows
=
"2"
Columns
=
"30"
Text='<%# Bind("Notes") %>' Visible='<%# Eval("Evaluate") %>'></
asp:TextBox
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
<%@ Page Language="C#" MasterPageFile="~/MainPage.Master" AutoEventWireup="true"
CodeBehind="ShoppingBasketPage.aspx.cs" Inherits="AstroWeb.WebForms.ShoppingBasketPage" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="rad" %>
<%@ Register Src="../UserControls/ShoppingBasketGrid.ascx" TagName="ShoppingBasketGrid"
TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/SparePartsBasket.ascx" TagName="SparePartsBasket"
TagPrefix="uc2" %>
<%@ Register Src="~/UserControls/SpecialPartsBasket.ascx" TagName="SpecialPartsBasket"
TagPrefix="uc3" %>
<%@ Register Src="~/UserControls/AlternativePartsBasket.ascx" TagName="AlternativePartsBasket"
TagPrefix="uc4" %>
<%@ Register Assembly="CustomControlsLibrary" Namespace="CustomControlsLibrary" TagPrefix="cc1" %>
<%@ Register Assembly="Astro_CustomControls" Namespace="Astro_CustomControls" TagPrefix="cc2" %>
<
asp:Content
ID
=
"Content1"
ContentPlaceHolderID
=
"ContentPlaceHolder1"
runat
=
"server"
>
<
style
type
=
"text/css"
>
.ChartContainer
{
width: 99%;
position: relative; /* border: 1px solid black; */
margin: 0 auto;
text-align: center;
}
.ChartNormal
{
/* border: 1px solid black; */
float: left;
width: 700px;
margin: auto 2em;
margin-top: 2em;
}
</
style
>
<
script
type
=
"text/javascript"
>
function OpenGridWeb() {
var oWnd = window.radopen(null, "WebBlue");
oWnd.set_visibleStatusbar(false);
oWnd.setSize(300, 365);
oWnd.center();
oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close);
oWnd.setUrl("GridWeb.aspx");
}
function OnExpand(sender, eventArgs) {
eventArgs.get_item().click()
}
</
script
>
<
rad:RadCodeBlock
ID
=
"RadCodeBlock1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function requestStart(sender, eventArgs) {
var loadingPanel = "#<%= RadAjaxLoadingPanel1.ClientID %>";
$(loadingPanel).center();
}
</
script
>
</
rad:RadCodeBlock
>
<
rad:RadScriptBlock
runat
=
"server"
ID
=
"radscript1"
>
<
asp:Literal
runat
=
"server"
ID
=
"lit"
></
asp:Literal
>
</
rad:RadScriptBlock
>
<
rad:RadAjaxPanel
ID
=
"RadAjaxPanel1"
runat
=
"server"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
OnAjaxRequest
=
"RadAjaxPanel1_AjaxRequest"
>
<
rad:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
CssClass
=
"underPopup"
IsSticky
=
"true"
runat
=
"server"
>
<
div
id
=
"divProgressTemplate"
style="width: 100%; height: 100%; z-index: 9000; background-color: White;
position: absolute; filter: alpha(
opacity
=
40
); -moz-opacity: .40; opacity: .40;">
<
img
alt
=
""
src
=
"../Images/0000_wait.gif"
style="position: absolute; top: 50%; left: 50%;
z-index: 9999;" />
</
div
>
</
rad:RadAjaxLoadingPanel
>
<
rad:RadWindowManager
VisibleStatusbar
=
"true"
ID
=
"radWindowManagr"
runat
=
"server"
Skin
=
"WebBlue"
ReloadOnShow
=
"false"
>
<
Windows
>
<
rad:RadWindow
ReloadOnShow
=
"true"
ID
=
"radWinBday"
runat
=
"server"
Behavior
=
"close"
EnableEmbeddedSkins
=
"true"
Modal
=
"true"
Skin
=
"WebBlue"
>
</
rad:RadWindow
>
</
Windows
>
</
rad:RadWindowManager
>
<
div
style
=
"width: 100%; height: 10px"
>
</
div
>
<
div
style
=
"position: relative"
>
<
cc1:BaseRadPanel
runat
=
"server"
ID
=
"radpnlBasketGrid"
Width
=
"100%"
ExpandMode
=
"SingleExpandedItem"
Skin
=
"WebBlue"
ExpandAnimation-Type
=
"None"
>
<
Items
>
<
rad:RadPanelItem
Expanded
=
"true"
Text
=
"1100_ShoppingBasket"
Selected
=
"true"
>
<
Items
>
<
rad:RadPanelItem
>
<
ContentTemplate
>
<
asp:Panel
runat
=
"server"
ID
=
"pnlSB"
ScrollBars
=
"Auto"
>
<
uc1:ShoppingBasketGrid
ID
=
"ShoppingBasketGrid"
runat
=
"server"
/>
</
asp:Panel
>
</
ContentTemplate
>
</
rad:RadPanelItem
>
</
Items
>
</
rad:RadPanelItem
>
</
Items
>
</
cc1:BaseRadPanel
>
</
div
>
<
div
style
=
"position: relative"
>
<
cc1:BaseRadPanel
runat
=
"server"
ID
=
"radpnlSpareParts"
Width
=
"100%"
ExpandMode
=
"SingleExpandedItem"
Skin
=
"WebBlue"
ExpandAnimation-Type
=
"None"
OnItemClick
=
"PopulateSparePartsGrid"
OnClientItemExpand
=
"OnExpand"
>
<
Items
>
<
rad:RadPanelItem
Expanded
=
"false"
Text
=
"1560_Spares"
>
<
Items
>
<
rad:RadPanelItem
>
<
ContentTemplate
>
<
uc2:SparePartsBasket
ID
=
"SparePartsBasket"
runat
=
"server"
/>
</
ContentTemplate
>
</
rad:RadPanelItem
>
</
Items
>
</
rad:RadPanelItem
>
</
Items
>
</
cc1:BaseRadPanel
>
</
div
>
<
div
style
=
"position: relative"
>
<
cc1:BaseRadPanel
runat
=
"server"
ID
=
"radpnlSpecialParts"
Width
=
"100%"
ExpandMode
=
"SingleExpandedItem"
Skin
=
"WebBlue"
ExpandAnimation-Type
=
"None"
OnItemClick
=
"PopulateSpecialPartsGrid"
OnClientItemExpand
=
"OnExpand"
>
<
Items
>
<
rad:RadPanelItem
Expanded
=
"false"
Text
=
"1101_SpecialParts"
>
<
Items
>
<
rad:RadPanelItem
>
<
ContentTemplate
>
<
uc3:SpecialPartsBasket
ID
=
"SpecialPartsBasket"
runat
=
"server"
/>
</
ContentTemplate
>
</
rad:RadPanelItem
>
</
Items
>
</
rad:RadPanelItem
>
</
Items
>
</
cc1:BaseRadPanel
>
</
div
>
<
div
style
=
"position: relative"
>
<
cc1:BaseRadPanel
runat
=
"server"
ID
=
"radpnlAlternativeParts"
Width
=
"100%"
ExpandMode
=
"SingleExpandedItem"
Skin
=
"WebBlue"
ExpandAnimation-Type
=
"None"
>
<
Items
>
<
rad:RadPanelItem
Expanded
=
"false"
Enabled
=
"false"
Text
=
"1102_AlternativePart"
>
<
Items
>
<
rad:RadPanelItem
>
<
ContentTemplate
>
<
uc4:AlternativePartsBasket
ID
=
"AlternativePartsBasket"
runat
=
"server"
/>
<
div
align
=
"left"
>
<
cc2:BaseTelerikRadButtonSecurity
ID
=
"btnSendAlternatives"
ToggleType
=
"None"
runat
=
"server"
ApplySecurityCode
=
"false"
ButtonType
=
"StandardButton"
Text
=
"Add Selections"
AutoPostBack
=
"true"
UseSubmitBehavior
=
"true"
OnClick
=
"btnSendAlt_Click"
>
<
Image
IsBackgroundImage
=
"true"
ImageUrl
=
"~/images/button.png"
/>
</
cc2:BaseTelerikRadButtonSecurity
>
</
div
>
</
ContentTemplate
>
</
rad:RadPanelItem
>
</
Items
>
</
rad:RadPanelItem
>
</
Items
>
</
cc1:BaseRadPanel
>
</
div
>
</
rad:RadAjaxPanel
>
</
asp:Content
>