<
P
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
>telerik</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>:</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
>GridBoundColumn</
FONT
></
FONT
></
FONT
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
>DataField</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>="Last
Updated"</
FONT
></
FONT
></
FONT
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
>
</
FONT
></
FONT
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
>HeaderText</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>="Achieved?"</
FONT
></
FONT
></
FONT
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
></
P
>
<
P
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
>UniqueName</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>="colLastUpdatedDate"</
FONT
></
FONT
></
FONT
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
>DataFormatString</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>="{0:d}"</
FONT
></
FONT
></
FONT
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
>FilterControlWidth</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>="60"</
FONT
></
FONT
></
FONT
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
></
P
>
<
P
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
>DataType</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>="System.DateTime"></
FONT
></
FONT
></
FONT
></
P
>
<
P
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
>HeaderStyle</
FONT
></
FONT
></
FONT
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
>Width</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>="100px"</
FONT
></
FONT
></
FONT
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>/></
FONT
></
FONT
></
FONT
></
P
>
<
P
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
>ItemStyle</
FONT
></
FONT
></
FONT
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#ff0000"
size
=
"2"
face
=
"Consolas"
>Width</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>="100px"</
FONT
></
FONT
></
FONT
><
FONT
size
=
"2"
face
=
"Consolas"
><
FONT
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>/></
FONT
></
FONT
></
FONT
></
P
>
<
P
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
> </
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
></</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
>telerik</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>:</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#800000"
size
=
"2"
face
=
"Consolas"
>GridBoundColumn</
FONT
></
FONT
></
FONT
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
><
FONT
color
=
"#0000ff"
size
=
"2"
face
=
"Consolas"
>></
FONT
></
FONT
></
FONT
></
P
>
if
(e.Item
is
GridDataItem) <BR> { <BR>
//HyperLink editLink =
(HyperLink)e.Item.FindControl(
"EditLink"
); <BR> var editLink =
(System.Web.UI.HtmlControls.HtmlAnchor)e.Item.FindControl(
"EditLink"
); <BR>
editLink.Attributes[
"href"
] =
"#"
; <BR>
//editLink.Attributes["onclick"] =
String.Format(
"return ShowEditForm('{0}','{1}', '{2}', '{3}', '{4}');"
,
e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex][
"ReportDueDateId"
],
e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex][
"BoxId"
],
e.Item.ItemIndex, _authToken, _applicationApiKey); <BR>
editLink.Attributes[
"onclick"
] = String.Format("
return
ShowEditForm(
'{0}'
,
'{1}'
,
'{2}'
,
'{3}'
,
'{4}'
);",
e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex][
"Id"
],
e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex][
"BoxId"
],
e.Item.ItemIndex, _authToken, _applicationApiKey); <BR> <BR> var deleteLink =
(System.Web.UI.HtmlControls.HtmlAnchor)e.Item.FindControl(
"DeleteLink"
); <BR>
deleteLink.Attributes[
"href"
] =
"#"
; <BR>
//deleteLink.Attributes["onclick"] =
String.Format(
"return confirmDeleteDueDate('{0}');"
,
e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex][
"ReportDueDateId"
]); <BR>
deleteLink.Attributes[
"onclick"
] = String.Format("
return
confirmDeleteDueDate(
'{0}'
);",
e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex][
"Id"
]); <BR> <BR> <BR>
GridDataItem item = (GridDataItem)e.Item; <BR> <BR> DateTime date =
(DateTime)DataBinder.Eval(item.DataItem,
"LastUpdated"
); <BR> <BR>
if
(date ==
DateTime.MinValue) <BR> { <BR> <BR> item[
"LastUpdated"
].Text =
""
; <BR> <BR> }
<BR> }<BR><BR><BR></FONT>