Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6908675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:35:34+00:00 2026-05-27T08:35:34+00:00

I am using a telerik grid control, which displays a grid with some other

  • 0

I am using a telerik grid control, which displays a grid with some other functionality, paging, sorting, filtering etc.

When the filter button is clicked on the grid, it ‘pops up’ the filter dialog. Which specifically, is a div with an input and button controls.

I want to bind to the click of the filter button control. The problem is that the filter dialog ‘pops up’ and this seems to be done dynamically, so the element is not present when $(document).ready() is called. It also is not given an id but i’m hoping I can get it from its class.

I’ve read this article, except since I believe it is in the telerik code it makes it harder to modify…
http://www.learningjquery.com/2008/05/working-with-events-part-2

It was also suggested to use live() and bind like that – but it doesn’t seem to pick up the control either…

Any ideas on how I can bind to the click of this button?

Since the filter uses ajax I also tried binding to the ajaxSend but I’d need a way to find out inside the ajaxSend binding what had caused it, or what control made it happen…I wasn’t sure how to do this.

Thanks.


Using jquery 1.4.4

Update with the code

$(".t-button.t-button-icontext.t-filter-button").live("click", function () {
                    alert('got it');
                });



    <div class="t-filter-help-text">And</div>
        <select class="t-filter-operator">
            <option value="endswith">Ends with</option>
            <option value="eq">Is equal to</option>
            <option value="ne">Is not equal to</option>
            <option value="startswith">Starts with</option>
            <option value="substringof">Contains</option>
        </select>
        <input type="text">
        <button class="t-button t-button-icontext t-filter-button">
            <span class="t-icon t-filter"></span>Filter
        </button>
    </div>

I am pretty sure the selectors are not a problem, because I’ve checked with .length, behind a static button the page and in the jquery document ready. in the jquery document ready of course it results 0. after clicking the filter and making the dynamic content available, and clicking the button, receiving 1.


I have worked out why it isn’t working. In the telerik code which generates the dialog, there is a stopPropagation() call. If I remove that, the filter dialog becomes unusable (clicking anywhere closes it). In this case, I am not sure there is a solution to this problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:35:34+00:00Added an answer on May 27, 2026 at 8:35 am

    I ended up solving this by using Brandon Aaron’s liveQuery plug in, which allows the events to propagate up even if .stopPropagation() has been called, and allows me to successfully retain the functionality of the filter dialog.

    See http://blog.bigbinary.com/2009/10/14/how-live-method-works-in-jquery-why-it-does-not-work-in-some-cases-when-to-use-livequery.html for a detailed explanation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Telerik MVC grid ajax binding to show some records. While the
In web application[asp.net], i am using telerik grid control, i am bind the data
Currently i am using Telerik grid which filters are applied to each column. I
I'm using Telerik's Grid control from the MVC Extensions. I have it set up
Using telerik mvc grid with ajax, give me some headaches. I am trying to
First some background..I am using the Telerik MVC Grid to display data. The grid
I am using the telerik RadRichTextBox control and the RadRichTextBoxRibbonUI to provide some New,
I'm developing a grid with excel-like functionality using the telerik controls. For example users
Hi I am Using Telerik MVC Grid Control in my MVC 3.0 Project I
I am looking at using the Telerik MVC3 Razor grid control for a project.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.