One of the GridTemplateColumn columns in my radgrid isn't populated by a database so its AllowFiltering property is set to false. However, I want to put a loading gif where <FilterTemplate> puts its markup.
How do I do this?
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowFilteringByColumn
=
"true"
OnNeedDataSource
=
"RadGrid1_NeedDataSource"
>
<
Columns
>
<
telerik:GridTemplateColumn
UniqueName
=
"MyCol1"
AllowFiltering
=
"false"
>
<
FilterTemplate
>
<!-- I want to put image here, but it doesn't display if AllowFilter=false -->
<
img
src
=
"images/loading.gif"
/>
</
FilterTemplate
>
<
ItemTemplate
>
<
asp:Hyperlink
ID
=
"MyLink"
runat
=
"server"
Text
=
"MyLink"
></
asp:Hyperlink
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
telerik:RadGrid
>
Any help is appreciated.