views:

63

answers:

0

Hi every body I'm using telerik radcontrols Q1 2008 i want to implement Edit-On Double Click utility in the control,i dont know how to use 2 event parameters on RowDblClick(sender,EventArgd) to Get my Row Item in server side

Here is My Client Side Script:

 function RowDblClick(sender, eventArgs)
      {
            if(editedRow && hasChanges)
         {    
             if(confirm("Save?"))
             {
                 hasChanges = false;                                     
                 $find("<%= Rg_AllInfo.ClientID %>").get_masterTableView().updateItem(editedRow);
             }
             else
             {
                 hasChanges = false;
             }
         }
         alert("Out");             
         editedRow = eventArgs.get_itemIndexHierarchical();                                                            
        $find("<%= Rg_AllInfo.ClientID %>").get_masterTableView().editItem(editedRow);

}

Any help would be appreciated.