Folks,
Using Radgrid for Asp.net Ajax 2010 V2 with VStudio 2008 SP1.
My question is that how can I conditionally hide a Table Row (in this example: <tr id = "tr2">) that is declared within a Grid Template column. Preferrably within item data bound event if certain conditions are not met based on Other Grid Data. Below is my Template declarations. Thanks
gc_0620
Using Radgrid for Asp.net Ajax 2010 V2 with VStudio 2008 SP1.
My question is that how can I conditionally hide a Table Row (in this example: <tr id = "tr2">) that is declared within a Grid Template column. Preferrably within item data bound event if certain conditions are not met based on Other Grid Data. Below is my Template declarations. Thanks
gc_0620
<
columns
>
<
telerik:
=
"TemplateColumn1"
HeaderStyle-ForeColor
=
"BurlyWood"
HeaderText
=
" Template Column"
DataField
=
"First Name"
>
<
ItemTemplate
>
<
table
style
=
"width: 100%; table-layout: auto; border-collapse: collapse;"
>
<
colgroup
>
<
col
/>
<
col
/>
<
col
/>
<
col
/>
</
colgroup
>
<
tr
id
=
"tr1"
>
<
td
>
tr1 - A
</
td
>
<
td
>
tr1 - B
</
td
>
<
td
>
tr1 - C
</
td
>
<
td
>
tr1 - D
</
td
>
</
tr
>
<
tr
id
=
"tr2"
>
<
td
>
tr2 - A
</
td
>
<
td
>
tr2 - B
</
td
>
<
td
>
tr2 - C
</
td
>
<
td
>
tr2 - D
</
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
columns
>