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

OnFilterMenuShowing client-side event does not working for RadGrid Column

2 Answers 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Smruti Ranjan
Top achievements
Rank 1
Smruti Ranjan asked on 02 Apr 2012, 04:40 PM

In my page there is a RadGrid having filter functionality enabled.

I am handling the "OnHeaderMenuShowing" event for one of my requirement and its working fine but while trying the "OnFilterMenuShowing" client-side event its not working for me, even the simple method having to show alert message also not being called by this event handler and also without throwing any error.

Please see my code example below :-

    function FilterMenuShowing(sender, eventArgs){
                                    alert('hi');
                                                 }

again this is called at the client-side event like below for the RadGrid :-

    <ClientSettings AllowColumnsReorder="true" AllowColumnHide="true" ColumnsReorderMethod="Reorder">
               <ClientEvents OnGridCreated="ResizeGrid" OnFilterMenuShowing="FilterMenuShowing" />
    </ClientSettings>

Can any body say here if anything missed for it to work ?
OR anything to do more for get it worked ?

Thanks in advance ... :)

2 Answers, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 03 Apr 2012, 03:05 PM
Hello Smruti,

I have tried your scenario in a project of my own and everything is fine on my side. Attached you will find the aforementioned sample.
Can you please elaborate some more on the issue providing us some more information on your project.
If you are using ajax, try to disable it and see if the problem persists.
An alternate approach would be to  enable your script debugging and confirm that no javascript errors are interfering.

If the problem remains please open a support ticket and send us the full markup of the page as well as the related code behind. Thus we will be able to further research on the problem and do our best to provide a proper solution.

All the best,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Smruti Ranjan
Top achievements
Rank 1
answered on 04 Apr 2012, 02:02 PM
Thanks Eyup, i'll try it out by disabling the ajax first of all....
Tags
Grid
Asked by
Smruti Ranjan
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Smruti Ranjan
Top achievements
Rank 1
Share this question
or