Hi,
How can I add a GridTemplateColumn in my grid with label and tooltip and take the data from a field of my object
I tried something like
But it doesn't show any text..
and I have no idea how to add a tooltip
If I try with
it works but still I don't have the tooltip
Thanks
How can I add a GridTemplateColumn in my grid with label and tooltip and take the data from a field of my object
I tried something like
<
telerik:GridTemplateColumn
UniqueName
=
"Bt1"
DataField="Field1">
<
ItemTemplate
>
<
asp:Label
Text='<%#Eval("Field1") %>' runat="server"></
asp:Label
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:RadClientDataSource
ID
=
"RadClientDataSource1"
runat
=
"server"
AllowBatchOperations
=
"true"
>
<
ClientEvents
OnDataParse
=
"LoadImageGrid"
OnChange
=
"LoadBigMap"
/>
<
DataSource
>
<
WebServiceDataSourceSettings
>
<
Select
Url
=
"load_map.asmx/GetHomeData"
RequestType
=
"Post"
DataType
=
"JSON"
ContentType
=
"application/json; charset=utf-8"
/>
</
WebServiceDataSourceSettings
>
</
DataSource
>
<
Schema
>
<
Model
>
<
telerik:ClientDataSourceModelField
FieldName
=
"Field1"
DataType
=
"String"
/>
<
telerik:ClientDataSourceModelField
FieldName
=
"Field2"
DataType
=
"String"
/>
...
</
Model
>
</
Schema
>
</
telerik:RadClientDataSource
>
But it doesn't show any text..
and I have no idea how to add a tooltip
If I try with
<
telerik:GridBoundColumn
UniqueName
=
"Bt1"
DataField
=
"Field1"
HeaderText
=
"BT1"
AllowFiltering
=
"false"
>
</
telerik:GridBoundColumn
>
it works but still I don't have the tooltip
Thanks