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

Filtering In OutSide of Grid

6 Answers 140 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chandran Chandran
Top achievements
Rank 1
Chandran Chandran asked on 26 Jul 2010, 01:36 PM
Dear Telerik,

I would like how to make filtering the radgrid by using the controls which is outside grid.My form is subject to like a search template. So that i used FromDate and ToDate and State ComboBox controls. So i need to filter the grid based on what ever the values selected from those dropdowns. I used to bind the grid dynamically by using NeedDataSource event.

So please help me how to do (or) what are the areas we need to make the changes in order to achieve above

-Thanks

6 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 29 Jul 2010, 11:17 AM
Hi,

Please refer to the following code library which elaborates on similar matter. Test it on your side and let me know if it helps.


Regards,
Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Chandran Chandran
Top achievements
Rank 1
answered on 30 Jul 2010, 01:13 PM

Hi Maria Ilieva,

Thanks for your response. Your article help me aa lot to know the result. But i would like to handle it as the basic filtering calls by using client side events from the ASPX file. But one difference my controls are outsiide of grid from there i have to operate as like basic filtering contrls inside grid's filter template section.

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
  
                                <script type="text/javascript">
                                    function TitleIndexChanged(sender,args) {
                                        var tableView=$find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                        tableView.filter("ContactTitle",args.get_item().get_value(),"EqualTo");
                                          
                                    }
                                </script>
  
                            </telerik:RadScriptBlock>

Hope now you could undestand my requirment
-Thanks

0
Chandran Chandran
Top achievements
Rank 1
answered on 30 Jul 2010, 04:31 PM
Hi,
any suggetions?

-Thanks
0
Chandran Chandran
Top achievements
Rank 1
answered on 02 Aug 2010, 02:35 PM
Hi,
 Any suggetions?

-Thanks

0
Chandran Chandran
Top achievements
Rank 1
answered on 03 Aug 2010, 11:00 AM
Hi,
      Is there any possibility to solve the issue. The proceess need to be done after selecting FromDate and ToDate and State ComboBox controls then finally click the search button. After search button clicks the relevant details need to be fetch from DB.

Please help me to achieve the scenario.

-Thanks
0
Pavlina
Telerik team
answered on 04 Aug 2010, 12:43 PM
Hi Chandran,

I suggest that you examine this online example, which elaborates on similar subject and see if it helps to achieve your goal.

Regards,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Chandran Chandran
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Chandran Chandran
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or