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

[Solved] Issue In Clearing Filter Of Unbound Column

2 Answers 79 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Suresh Krishna
Top achievements
Rank 1
Suresh Krishna asked on 23 Feb 2010, 10:39 AM
Hi,
I have created a Radgrid with unbound columns. Value entered on Filter and filter condition has to be removed from unbound column. Its not happening.  How to achieve it ?

Thanks,
Suresh

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 23 Feb 2010, 11:10 AM
Hi,

You cannot apply filter for unbound columns as the grid filters the datasource using the datafield bound to it. If you want to prevent filtering for the particular column  then set the property AllowFiltering to False as shown below :

         <telerik:GridTemplateColumn AllowFiltering="false"
                    <ItemTemplate> 
                        <asp:Button ID="Button1" runat="server" Text="Select" /> 
                    </ItemTemplate> 
         </telerik:GridTemplateColumn> 

 Hope this helps. Do let me know if you have any more queries.

Shinu.
0
Suresh Krishna
Top achievements
Rank 1
answered on 05 Mar 2010, 04:10 AM

Hi,
I need filtering on UNBOUND columns. Filtering is working fine. It’s just that data entered in filter and filtering condition has to be cleared from the filtering row.

Since no. of columns in data is not fixed, it’s not possible to use BOUND columns.  Precisely, Filtering cannot be ignored.  

Thanks,
Suresh

Tags
Grid
Asked by
Suresh Krishna
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Suresh Krishna
Top achievements
Rank 1
Share this question
or