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

After Filtering, all events have commandname = "filter"

1 Answer 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 09 Mar 2009, 06:29 PM
I have filters on my radgrid.  One of my columns is a checkbox column:
<radg:GridTemplateColumn HeaderStyle-Width="40px" ItemStyle-Width="40px" AllowFiltering="false"  
                                        HeaderText="In/Out" UniqueName="ownershipcolumn"
                                       <ItemTemplate> 
                                          <asp:CheckBox AutoPostBack="true" id="chkOwned" runat="server"></asp:CheckBox> 
                                       </ItemTemplate> 
                                    </radg:GridTemplateColumn> 

After I filter the grid my gridcommandeventargs always have an e.item with a TypeOf "GridFilteringItem" instead of a "GridDataItem."

It's like the filter is the only thing sending events now instead of whichever row/control I click on.  The GridFilteringItem always has a DataItem = Nothing as well.

Since the filter is the only thing firing events I cannot capture my CheckBox.CheckChanged event.

Any hints?


1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 12 Mar 2009, 08:10 AM
Hello Aaron,

Based on this information, it is hard to pinpoint the cause of the problem. If the issue persists, you can open a formal support ticket, and send us a small working project, demonstrating your setup, along with the unwanted behavior. We will review it locally, and advise you further.

Greetings,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Aaron
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or