<
body
class
=
"BODY"
>
<
form
runat
=
"server"
id
=
"mainForm"
method
=
"post"
style
=
"width: 100%;"
>
<%--<
telerik:Header
runat
=
"server"
ID
=
"Header1"
NavigationLanguage
=
"VB"
></
telerik:Header
>--%>
<!-- content start -->
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
></
telerik:RadScriptManager
>
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
<!--
var hasChanges, inputs, dropdowns, editedRow;
function RowClick(sender, eventArgs)
{
if(editedRow && hasChanges)
{
hasChanges = false;
if(confirm("Update changes?"))
{
$find("<%= RadGrid1.MasterTableView.ClientID %>").updateItem(editedRow);
}
}
}
function RowDblClick(sender, eventArgs)
{
editedRow = eventArgs.get_itemIndexHierarchical();
$find("<%= RadGrid1.MasterTableView.ClientID %>").editItem(editedRow);
}
function GridCommand(sender, args)
{
if (args.get_commandName() != "Edit")
{
editedRow = null;
}
}
function GridCreated(sender, eventArgs)
{
var gridElement = sender.get_element();
var elementsToUse = [];
inputs = gridElement.getElementsByTagName("input");
for (var i = 0; i <
inputs.length
;i++)
{
var
lowerType
=
inputs
[i].type.toLowerCase();
if(lowerType == "hidden" || lowerType == "button")
{
continue;
}
Array.add(elementsToUse, inputs[i]);
inputs[i]
.onchange
=
TrackChanges
;
}
dropdowns
=
gridElement
.getElementsByTagName("select");
for (var
i
=
0
; i < dropdowns.length;i++)
{
dropdowns[i]
.onchange
=
TrackChanges
;
}
setTimeout(function(){if(elementsToUse[0])elementsToUse[0].focus();},100);
}
function TrackChanges(e)
{
hasChanges
=
true
;
}
-->
</
script
>
</
telerik:RadCodeBlock
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadGrid1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadGrid1"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"Label1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadGrid
ID
=
"RadGrid1"
DataSourceID
=
"SessionDataSource1"
OnItemDataBound
=
"RadGrid1_ItemDataBound"
Width
=
"97%"
ShowStatusBar
=
"True"
AllowSorting
=
"True"
PageSize
=
"15"
GridLines
=
"None"
AllowPaging
=
"True"
runat
=
"server"
AllowAutomaticUpdates
=
"True"
AutoGenerateColumns
=
"False"
>
<
MasterTableView
TableLayout
=
"Fixed"
DataKeyNames
=
"checklistNo"
EditMode
=
"InPlace"
>
<
Columns
>
<
telerik:GridBoundColumn
UniqueName
=
"CategoryID"
DataField
=
"CategoryID"
HeaderText
=
"CategoryID"
Display
=
"false"
ReadOnly
=
"True"
>
<
HeaderStyle
Width
=
"10%"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
UniqueName
=
"checklistNo"
DataField
=
"checklistNo"
HeaderText
=
"checklistNo"
Display
=
"False"
ReadOnly
=
"True"
>
<
HeaderStyle
Width
=
"25%"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
UniqueName
=
"Related_item_type_label"
DataField
=
"Related_item_type_label"
HeaderText
=
"Question"
ReadOnly
=
"True"
>
<
HeaderStyle
Width
=
"30%"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridTemplateColumn
>
<
HeaderStyle
Width
=
"10%"
/>
<
ItemStyle
Width
=
"10%"
/>
<
HeaderTemplate
>
<
asp:Label
ID
=
"lblHeaderServiceImpact"
Text
=
"Service Impact"
runat
=
"server"
></
asp:Label
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblServiceImpact1"
Text='<%#Eval("Service_impact_category")%>' runat="server"></
asp:Label
>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadTextBox
AutoPostBack
=
"true"
ReadOnly
=
"true"
ID
=
"lbllblServiceImpact"
runat
=
"server"
Text='<%#Eval("Service_impact_category")%>' BorderStyle="None">
</
telerik:RadTextBox
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
>
<
HeaderStyle
Width
=
"17%"
/>
<
ItemStyle
Width
=
"17%"
/>
<
HeaderTemplate
>
<
asp:Label
ID
=
"lblHeaderInspectionResult"
Text
=
"Inspection Result"
runat
=
"server"
></
asp:Label
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblInspectionResult1"
Text='<%#Eval("INSPECTION_RESULT")%>' runat="server"></
asp:Label
>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadTextBox
AutoPostBack
=
"true"
visible
=
"False"
ID
=
"lblInspectionResult"
runat
=
"server"
Text='<%#Eval("INSPECTION_RESULT")%>'>
</
telerik:RadTextBox
>
<
telerik:RadComboBox
visible
=
"True"
ID
=
"cbInspectionResult"
AppendDataBoundItems
=
"true"
runat
=
"server"
>
</
telerik:RadComboBox
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
>
<
HeaderStyle
Width
=
"17%"
/>
<
ItemStyle
Width
=
"17%"
/>
<
HeaderTemplate
>
<
asp:Label
ID
=
"lblHeaderInspectionFault"
Text
=
"Inspection Fault"
runat
=
"server"
></
asp:Label
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblInspectionFault1"
Text='<%#Eval("INSPECTION_FAULT")%>' runat="server"></
asp:Label
>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadTextBox
AutoPostBack
=
"true"
visible
=
"False"
ID
=
"lblInspectionFault"
runat
=
"server"
Text='<%#Eval("INSPECTION_FaULT")%>'>
</
telerik:RadTextBox
>
<
telerik:RadComboBox
visible
=
"True"
ID
=
"cbInspectionFault"
AppendDataBoundItems
=
"true"
runat
=
"server"
>
</
telerik:RadComboBox
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
>
<
HeaderStyle
Width
=
"20%"
/>
<
ItemStyle
Width
=
"20%"
/>
<
HeaderTemplate
>
<
asp:Label
ID
=
"lblInspectionCommentHeader"
Text
=
"Comments"
runat
=
"server"
></
asp:Label
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblInspectionComment"
Text='<%#Eval("INSPECTION_COMMENT")%>' runat="server"></
asp:Label
>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadTextBox
Width
=
"100%"
AutoPostBack
=
"true"
visible
=
"True"
ID
=
"txtInspectionComment"
runat
=
"server"
Text='<%#Eval("INSPECTION_COMMENT ")%>'>
</
telerik:RadTextBox
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
<
ClientSettings
>
<
ClientEvents
OnRowClick
=
"RowClick"
OnRowDblClick
=
"RowDblClick"
OnGridCreated
=
"GridCreated"
OnCommand
=
"GridCommand"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
<
telerik:GridTextBoxColumnEditor
ID
=
"GridTextBoxColumnEditor1"
runat
=
"server"
TextBoxStyle-Width
=
"180px"
/>
<
telerik:GridDropDownListColumnEditor
ID
=
"GridDropDownListColumnEditor1"
runat
=
"server"
DropDownStyle-Width
=
"70px"
/>
<
telerik:GridCheckBoxColumnEditor
ID
=
"GridCheckBoxColumnEditor1"
runat
=
"server"
CheckBoxStyle-BorderWidth
=
"2"
/>
<
telerik:GridNumericColumnEditor
ID
=
"GridNumericColumnEditor1"
runat
=
"server"
NumericTextBox-Width
=
"50px"
/>
<
br
/>
<
asp:Label
ID
=
"Label1"
runat
=
"server"
EnableViewState
=
"false"
/>
<
br
/>
<
asp:SqlDataSource
ID
=
"SessionDataSource1"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:OracleConnectionString %>"
ProviderName="<%$ ConnectionStrings:OracleConnectionString.ProviderName %>"
SelectCommand="SELECT categoryid, category_name, checklistNo, ROWNUM || ') ' || related_item_type_label AS related_item_type_label, inspection_Result, inspection_fault, service_impact_category, inspection_comment FROM ( SELECT categoryid || ' - ' || category_name categoryid, category_name, checklistNo, MAX( related_item_type_label ) AS related_item_type_label, MAX( inspection_Result ) AS inspection_Result,MAX( inspection_fault ) AS inspection_fault, MAX( service_impact_category ) AS service_impact_category, MAX( inspection_comment ) AS inspection_comment FROM(SELECT categoryid,category_name,checklistNo,DECODE( INSTR( related_item_type,'INSPECTION_RESULT'),0,NULL, related_item_type_label ) related_item_type_label,DECODE( INSTR( related_item_type,'INSPECTION_RESULT'),0,NULL, DECODE( related_item_value, NULL, default_value, related_item_value ) ) inspection_Result,DECODE( INSTR( related_item_type,'INSPECTION_FAULT'),0,NULL, DECODE( related_item_value, NULL, default_value, related_item_value ) ) inspection_fault,DECODE( INSTR( related_item_type,'SERVICE_IMPACT_CATEGORY'),0,NULL, DECODE( related_item_value, NULL, default_value, related_item_value ) ) service_impact_category,DECODE( INSTR( related_item_type,'INSPECTION_COMMENT'),0,NULL, DECODE( related_item_value, NULL, default_value, related_item_value ) ) inspection_comment FROM( SELECT v.view_name,v.item_type_order,v.related_item_type_label,v.related_item_type,SUBSTR(v.related_item_type, -5) checklistNo,d.related_item_value,( SELECT valid_type_rule_value FROM pimmds.valid_type_rules r WHERE r.valid_type_rule = 'VALID VALUE DEFAULT' AND r.item_type = v.related_item_type AND SYSDATE BETWEEN r.effectivity_in AND r.effectivity_out ) default_value, d.created_by, DECODE( c.categoryid,NULL,'91',c.categoryid) AS categoryid,c.category_name FROM PIMMDS.relationship_views v,( SELECT a.item_type, a.item_value, b.item_type related_item_type, b.item_value related_item_value, c.created_by FROM pimods.items a, pimods.items b, pimods.relationships c WHERE a.item_no = c.parent_item_no AND b.item_no = c.child_item_no AND a.item_type = 'INSPECTION_SEQUENCE_NUMBER' AND a.item_value = :ISN AND SYSDATE BETWEEN c.effectivity_in AND c.effectivity_out) d,(SELECT SUBSTR(related_item_type,-2) categoryid, related_item_type_value category_name FROM pimmds.relationship_views v WHERE view_name = 'Clearwire Quality Control Checklist' AND related_item_type LIKE 'INSPECTION_CATEGORY%' AND SYSDATE BETWEEN v.effectivity_in AND v.effectivity_out ) c WHERE v.view_name = 'Clearwire Quality Control Checklist Update' AND ( v.related_item_type LIKE 'INSPECTION_RESULT%' OR v.related_item_type LIKE 'INSPECTION_FAULT%' OR v.related_item_type LIKE 'SERVICE_IMPACT_CATEGORY%' OR v.related_item_type LIKE 'INSPECTION_COMMENT%') AND substr(v.related_item_type,-5,2) = :CATEGORYID AND v.item_type = d.item_type (+) AND v.related_item_type = d.related_item_type (+) AND SUBSTR( v.related_item_type,-5,2) = c.categoryid (+) ) ) GROUP BY categoryid, category_name,checklistNo ORDER BY checklistNo )"
UpdateCommand="PIMMDS.QC_PROCESS_DATA_FLOW.deltaRDSInspection"
OldValuesParameterFormatString="original_{0}"
ConflictDetection="CompareAllValues"
UpdateCommandType="StoredProcedure">
<
UpdateParameters
>
<
asp:Parameter
Name
=
"L_INSPECTION_SN"
Type
=
"String"
/>
<
asp:Parameter
Name
=
"L_LINE"
Type
=
"String"
/>
<
asp:Parameter
Name
=
"L_RESULTS"
Type
=
"String"
/>
<
asp:Parameter
Name
=
"L_FAULTS"
Type
=
"String"
/>
<
asp:Parameter
Name
=
"L_COMMENTS"
Type
=
"String"
/>
</
UpdateParameters
>
<
SelectParameters
>
<
asp:Parameter
Name
=
"ISN"
Type
=
"String"
Direction
=
"Input"
/>
<
asp:Parameter
Name
=
"CATEGORYID"
Type
=
"String"
Direction
=
"Input"
/>
</
SelectParameters
>
</
asp:SqlDataSource
>
<!-- content end -->
<%--<
telerik:Footer
runat
=
"server"
ID
=
"Footer1"
></
telerik:Footer
>--%>
<
table
>
<
tr
>
<
td
> </
td
><
td
> </
td
><
td
> </
td
> <
td
> </
td
>
<
td
align
=
"center"
>
<
asp:Button
ID
=
"btnsave"
runat
=
"server"
OnClick
=
"btnsave_click"
Font-Size
=
"Small"
causesvalidation
=
"false"
Text
=
"Save Data"
/> </
td
>
</
tr
>
</
table
>
</
form
>
</
body
>
Hey,
I currently have a grid that lists many GridTemplateColumns within it. Three of these columns contain RadComboBoxes in them. The first cascades down to the two below it. When I change the selectedIndex of the first combo box, I trigger a postback which then fills the other two combo boxes with the appropriate values. This is all done without using an edit button, every line is editable when the grid is loaded. When the postback is triggered, it takes the grid a long time even though the code behind the selectedIndexChanged is empty and does not do anything. Do you know how I could do this without using a postback and so it only updates/looks at the line (javascript?), or to speed this postback up? I have attached the code I am using from the grid, and any help would be greatly appreciated.
It appears that when I select one RadComboBox, the postback goes through and touches every Item in teh RadGrid. I figure this because the more items that are returned into the grid, the longer it takes to fill the combo boxes for that line. Is there a way to only look at the line I am currently working on?
Thanks,
Ryan
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel"
runat
=
"server"
Skin
=
"Default"
InitialDelayTime
=
"500"
>
</
telerik:RadAjaxLoadingPanel
>
<
telerik:RadAjaxPanel
ID
=
"RadAjaxPanel"
runat
=
"server"
LoadingPanelID
=
"RadAjaxLoadingPanel"
>
<
telerik:RadGrid
ID
=
"grdRIExceptions"
runat
=
"server"
GridLines
=
"None"
AutoGenerateColumns
=
"False"
Width
=
"100%"
AllowPaging
=
"True"
PageSize
=
"50"
DataSourceID
=
"ExceptionDataSource"
>
<
GroupingSettings
CaseSensitive
=
"False"
GroupByFieldsSeparator
=
" "
/>
<
ClientSettings
>
<
Scrolling
ScrollHeight
=
"500px"
/>
</
ClientSettings
>
<
GroupHeaderItemStyle
Font-Bold
=
"True"
Font-Size
=
"12px"
ForeColor
=
"#333333"
/>
<
MasterTableView
NoMasterRecordsText
=
"There are no exceptions in your region with the set filters."
DataKeyNames
=
"CUST_No,STC_Code,INV_PrevDocNo"
ClientDataKeyNames
=
"CUST_No"
DataSourceID
=
"ExceptionDataSource"
Width
=
"100%"
>
<
RowIndicatorColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
<
CommandItemSettings
/>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"CUST_No"
EditFormHeaderTextFormat
=
"{0} :"
HeaderText
=
"Customer No"
UniqueName
=
"CUST_No"
Visible
=
"False"
>
<
HeaderStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
Wrap
=
"True"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"True"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridTemplateColumn
DataField
=
"CUST_Name"
EditFormHeaderTextFormat
=
"{0} :"
HeaderText
=
"Cust."
SortExpression
=
"CUST_Name"
UniqueName
=
"CUST_Info"
>
<
ItemTemplate
>
<
asp:LinkButton
ID
=
"btnViewCustomerInfo"
runat
=
"server"
>View</
asp:LinkButton
>
<
asp:Label
ID
=
"lblCustNo"
runat
=
"server"
Font-Underline
=
"True"
Text='<%# Eval("CUST_No") %>' Visible="False"></
asp:Label
>
<
asp:Label
ID
=
"lblCustName"
runat
=
"server"
Text='<%# Eval("CUST_Name") %>' Visible="false"></
asp:Label
>
<
asp:Label
ID
=
"lblCustDisplay"
runat
=
"server"
Text='<%# Eval("CUST_Name") + "(" + Eval("CUST_No") + ")" %>' Visible="false"></
asp:Label
>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
Width
=
"30px"
Wrap
=
"True"
HorizontalAlign
=
"Left"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"CUST_Name"
HeaderText
=
"Customer"
UniqueName
=
"CustomerName"
Display
=
"False"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblCustDisplay2"
runat
=
"server"
Text='<%# Eval("CUST_Name") + "(" + Eval("CUST_No") + ")" %>'></
asp:Label
>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
Width
=
"275px"
Wrap
=
"True"
HorizontalAlign
=
"Left"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
HeaderText
=
"Rental Order"
UniqueName
=
"NumOfRentalOrders"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblRONo"
runat
=
"server"
Text='<%# Eval("INV_PrevDocNo") %>'></
asp:Label
>
<
asp:Label
ID
=
"lblPrevDocType"
runat
=
"server"
Text='<%# Eval("INV_PrevDocType") %>' Visible="false"></
asp:Label
>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
Wrap
=
"True"
HorizontalAlign
=
"Left"
Width
=
"75px"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"INV_No"
HeaderText
=
"Inv/CM No."
UniqueName
=
"column1"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblInvNo"
runat
=
"server"
Text='<%# Eval("INV_No") %>'></
asp:Label
>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"True"
Width
=
"75px"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"INV_PostDate"
HeaderText
=
"Inv/CM Date"
UniqueName
=
"column"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"INV_PostDateLabel"
runat
=
"server"
Text='<%# Eval("INV_PostDate") %>'></
asp:Label
>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"True"
Width
=
"75px"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
HeaderText
=
"Ship-to Information"
UniqueName
=
"STC_Code"
DataField
=
"STC_Code"
GroupByExpression
=
"STC_Code"
SortExpression
=
"STC_Code"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblSTCCode"
runat
=
"server"
Text='<%# Eval("STC_Code") %>' Visible="false"></
asp:Label
>
<
asp:Label
ID
=
"lblSTCName"
runat
=
"server"
Text='<%# Eval("STC_Name") %>' Visible="false"></
asp:Label
>
<
asp:Label
ID
=
"lblSTCUnlinked"
runat
=
"server"
Text='<%# Eval("STC_Unlinked") %>' Visible="false"></
asp:Label
>
<
asp:Label
ID
=
"lblSTCDisplay"
runat
=
"server"
></
asp:Label
>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
Wrap
=
"False"
HorizontalAlign
=
"Left"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"False"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"STC_City"
GroupByExpression
=
"STC_City"
HeaderText
=
"City"
SortExpression
=
"STC_City"
UniqueName
=
"STC_City"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblSTCCity"
runat
=
"server"
Text='<%# Eval("STC_City") %>'></
asp:Label
>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
Wrap
=
"True"
Width
=
"100px"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"STC_State"
GroupByExpression
=
"STC_State"
HeaderText
=
"State"
SortExpression
=
"STC_State"
UniqueName
=
"STC_State"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblSTCState"
runat
=
"server"
Text='<%# Eval("STC_State") %>'></
asp:Label
>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
Width
=
"28px"
Wrap
=
"True"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"STC_Zip"
GroupByExpression
=
"STC_Zip"
HeaderText
=
"Zip Code"
SortExpression
=
"STC_Zip"
UniqueName
=
"STC_Zip"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblSTCZip"
runat
=
"server"
Text='<%# Eval("STC_Zip") %>'></
asp:Label
>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
Width
=
"55px"
Wrap
=
"True"
HorizontalAlign
=
"Right"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Right"
Wrap
=
"True"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
HeaderText
=
"Fix Type"
UniqueName
=
"FixType"
>
<
ItemTemplate
>
<
telerik:RadComboBox
ID
=
"cboExceptionFixType"
Runat
=
"server"
Width
=
"125px"
AutoPostBack
=
"True"
MarkFirstMatch
=
"True"
OnSelectedIndexChanged
=
"cboExceptionFixType_SelectedIndexChanged"
DropDownWidth
=
"175px"
>
<
Items
>
<
telerik:RadComboBoxItem
runat
=
"server"
Selected
=
"True"
Text
=
"Skip"
Value
=
"Select"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Text
=
"Always on this Address"
Value
=
"STC"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Text
=
"This Contract Only"
Value
=
"RO"
/>
</
Items
>
</
telerik:RadComboBox
>
<
asp:CheckBox
ID
=
"chkFixed"
runat
=
"server"
Visible
=
"False"
/>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"False"
Width
=
"120px"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"False"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
HeaderText
=
"Assign Salesperson / Branch"
UniqueName
=
"AssignSP"
>
<
ItemTemplate
>
<
telerik:RadComboBox
ID
=
"cboExceptionSalesperson"
runat
=
"server"
Width
=
"125px"
DropDownWidth
=
"175px"
Height
=
"400px"
Enabled
=
"False"
AutoPostBack
=
"True"
MarkFirstMatch
=
"True"
DataTextField
=
"SP_Name"
DataValueField
=
"SP_Code"
OnSelectedIndexChanged
=
"cboExceptionSalesperson_SelectedIndexChanged"
>
<
Items
>
<
telerik:RadComboBoxItem
runat
=
"server"
Selected
=
"True"
Text
=
"Select Salesperson"
Value
=
""
/>
</
Items
>
</
telerik:RadComboBox
>
<
telerik:RadComboBox
ID
=
"cboExceptionBranch"
runat
=
"server"
AutoPostBack
=
"False"
Width
=
"125px"
DropDownWidth
=
"175px"
MarkFirstMatch
=
"True"
Enabled
=
"False"
DataTextField
=
"Code"
DataValueField
=
"Code"
>
<
Items
>
<
telerik:RadComboBoxItem
runat
=
"server"
Selected
=
"True"
Text
=
"Select Branch"
Value
=
""
/>
</
Items
>
</
telerik:RadComboBox
>
</
ItemTemplate
>
<
HeaderStyle
Font-Bold
=
"True"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"False"
Width
=
"315px"
/>
<
ItemStyle
Font-Bold
=
"False"
Font-Italic
=
"False"
Font-Overline
=
"False"
Font-Strikeout
=
"False"
Font-Underline
=
"False"
HorizontalAlign
=
"Left"
Wrap
=
"False"
/>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
</
telerik:RadAjaxPanel
>
function
OnResponseEnd(sender, eventArgs)
{
if
(eventArgs.get_eventTarget() ==
"grdProjectTask$ctl00$ctl02$ctl01$btnUpdate"
)
{
var
taskId = eventArgs.get_eventArgument();
AddAlertToNewTask(taskId)
}
}