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

[Solved] RadComboBox and Parent cell

1 Answer 227 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mona
Top achievements
Rank 1
Mona asked on 25 May 2013, 12:59 AM
Hi,
How would you get the parent cell of RadComboBox in a OnClientDropDownClosedHandler?

This is is an ItemTemplate in a RadGrid
<telerik:RadComboBox ID="TerritoryManagerRadComboBox" runat="server" onclientdropdownclosed="OnClientDropDownClosedHandler">

 


function

 

 

OnClientDropDownClosedHandler(sender, eventArgs) {
  // here I want to get the cell object

 

 }

I 'd like to get this in javasscript and sender.Parent does not work... What is the correct synthax if any or is there another way to acheieve this? I need the cell object to modify the cell style the radcombobox is in once the selected value changed... I also trie onclientselectedindexchanged but I got the same issue - wa not sure how to get teh parent cell

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 26 May 2013, 09:50 AM
Hello,

Please try with below code snippet.
function ClientDropDownClosed(sender, args) {
                $("#" + sender.get_id()).parent().css("background-color", "red");
            }


Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Mona
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or