Hello,
i am using fulltextsqlquery to get result in share point search and binding results into a grid.
The query returns "ID" and "StaffID".I would like to format those 2 values as mentioned below in gridtemplatecolumn.
and i would like to use that formatted values which is say for ex - (1-33333) as my clientdatakeynames.
Please suggest how could i achieve this?
<telerik:GridTemplateColumn HeaderText="UniqueID" UniqueName="UniqueID" ItemStyle-CssClass="grid_column"
Visible="true" ItemStyle-Width="10%" >
<ItemTemplate>
<%# String.Format("{0}-{1}", Eval("ID"), Eval("StaffID"))%>
</ItemTemplate>
</telerik:GridTemplateColumn>
Thanks in advance.
i am using fulltextsqlquery to get result in share point search and binding results into a grid.
The query returns "ID" and "StaffID".I would like to format those 2 values as mentioned below in gridtemplatecolumn.
and i would like to use that formatted values which is say for ex - (1-33333) as my clientdatakeynames.
Please suggest how could i achieve this?
<telerik:GridTemplateColumn HeaderText="UniqueID" UniqueName="UniqueID" ItemStyle-CssClass="grid_column"
Visible="true" ItemStyle-Width="10%" >
<ItemTemplate>
<%# String.Format("{0}-{1}", Eval("ID"), Eval("StaffID"))%>
</ItemTemplate>
</telerik:GridTemplateColumn>
Thanks in advance.