<
telerik:RadGrid
ID
=
"rgStatus"
runat
=
"server"
AutoGenerateColumns
=
"False"
BorderStyle
=
"None"
Width
=
"100%"
>
<
HeaderStyle
HorizontalAlign
=
"Left"
Font-Bold
=
"true"
BorderWidth
=
"0"
BorderStyle
=
"None"
/>
<
ItemStyle
BorderStyle
=
"None"
BorderWidth
=
"0"
/>
<
AlternatingItemStyle
BorderStyle
=
"None"
BorderWidth
=
"0"
/>
<
ClientSettings
EnablePostBackOnRowClick
=
"false"
></
ClientSettings
>
<
MasterTableView
>
<
Columns
>
<
telerik:GridTemplateColumn
ItemStyle-Width
=
"250"
DataField
=
"StsExternalDesc"
UniqueName
=
"StsExternalName"
HeaderText
=
"Status"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblStatus"
runat
=
"server"
Text='<%#DataBinder.Eval(Container, "DataItem.StsExternalDesc") %>' />
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
ItemStyle-Width
=
"125"
DataField
=
"StsDateTime"
HeaderText
=
"Date"
/>
<
telerik:GridBoundColumn
ItemStyle-Width
=
"99"
DataField
=
"StsDateTime"
HeaderText
=
"Time"
/>
</
Columns
>
<
NestedViewTemplate
>
<
table
border
=
"0"
cellpadding
=
"2"
cellspacing
=
"0"
>
<
tr
id
=
"trStsDesc1"
>
<
td
><
asp:Label
ID
=
"lblStsDesc1"
runat
=
"server"
Text='<%# Eval("StsDesc1") %>'></
asp:Label
></
td
>
</
tr
>
<
tr
id
=
"trStsDesc2"
>
<
td
><
asp:Label
ID
=
"lblStsDesc2"
runat
=
"server"
Text='<%# Eval("StsDesc2") %>'></
asp:Label
></
td
>
</
tr
>
</
table
>
</
NestedViewTemplate
>
</
MasterTableView
>
</
telerik:RadGrid
>
For each status there could be some notes associated with it, which if there are notes then show in the nestedtemplate.My issue is if there are no notes I don't want to see the image to expand. If there is a note for a particular status then show the image to expand.Right now my code shows the expand image even if the notes are blank.