This is a migrated thread and some comments may be shown as answers.

how to use filters on using telerik:GridTemplateColumn in grid

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Akki
Top achievements
Rank 1
Akki asked on 15 May 2012, 04:29 AM
Hi,
Im getting a crash if i try to filter on template columns
Crash "budverdsc neither a DataColumn nor a DataRelation for table "
Here is code below

    <telerik:GridTemplateColumn HeaderText="Description" UniqueName="prdlvldsc" DataField="budverdsc"
                                Visible="true">
                                <itemtemplate>
                         <asp:TextBox ID = "asptxtProductGrpDescription" runat="server"  Text='<%#Eval("prdlvldsc")%>' Width= "100%"></asp:TextBox>
                             </itemtemplate>
                            </telerik:GridTemplateColumn>

Regards,
Akki

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 May 2012, 05:27 AM
Hi Akki,

Please make sure that you are using the same field for the DataField for GridTemplateColumn and Text for TextBox. Please take a look into this help documentation.

Thanks,
Shinu.
Tags
Grid
Asked by
Akki
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or