Skip to main content

Bug Tracker

Side navigation

#6137 closed enhancement (wontfix)

Opened February 21, 2010 10:13AM UTC

Closed February 27, 2010 02:55PM UTC

auto detect objects returned using $find()

Reported by: degree451 Owned by:
Priority: Milestone: 1.4.2
Component: selector Version: 1.3.2
Keywords: $find telerik Cc:
Blocked by: Blocking:
Description

I use the telerik web controls exclusively in my web application and that requires me to utilize the $find() method to get a reference to each control's client side api. However I also use jquery to perform custom tasks that their api does not. I'd like to be able to pass any object assigned returned by the $find() method and pass it into jquery and have jquery "just work".

Example of how I want jquery to work:

get my splitter control (RadSplitter)

_splitter = $find("<%= ConfigurationSplitter.ClientID %>");

get the height of the splitter using jquery

$(_searchToolbar).height();

As of right now this doesn't work. jquery doesn't recognize the _searchToolbar object as a valid entity selector. I can currently work around this by using the following:

$(_searchToolbar.get_element()).height();

However I'd like to see jquery change so that it inspects an object passed to it and determine if its an object created with $find() and do the ".get_element()" part for me.

Attachments (0)
Change History (1)

Changed February 27, 2010 02:55PM UTC by john comment:1

resolution: → wontfix
status: newclosed

That's not something that jQuery will bake directly into the code base. You could probably write a plugin to take care of that for you, however!