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

[Solved] Datagrid : onrowDblClick with radwindow

5 Answers 130 Views
Grid
This is a migrated thread and some comments may be shown as answers.
AR
Top achievements
Rank 1
AR asked on 11 Aug 2009, 12:17 AM
Hi,
I have a grid and i open a radwindow "onRowDblclick" , this works fine for all the rows on the firstpage of the grid but when i try to change the page  nothing happens and then everything stops working, i have to refresh the page to make anything work from there on. thanks,

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Aug 2009, 05:11 AM
Hi AR,

Here is an online demo which implements a similar scenario. It works with paging as well. The window is opened on the OnRowDblClick client event.
Window Editing



JS:
 
 function RowDblClick(sender, eventArgs) 
  { 
    window.radopen("EditFormCS.aspx?EmployeeID=" + eventArgs.getDataKeyValue("EmployeeID"), "UserListDialog"); 
  } 

Shinu
0
AR
Top achievements
Rank 1
answered on 11 Aug 2009, 03:24 PM

thanks for your reply shinu,
i am doing exactly the same with the javascript function, i use 

 

<

 

ClientSettings>

 

 

 

<Selecting AllowRowSelect ="true" />

 

 

 

<ClientEvents OnRowDblClick ="RowDblClick" />

 

 

 

</ClientSettings>

 

 

and then the "RowDblClick" function to open the radwindow, this works fine but once the user open up the window, closes it and then tries to use paging or use any other functionality on the page, it just hangs. do i have to rebind the grid or register start up scripts the way the example is doing ?

0
AR
Top achievements
Rank 1
answered on 11 Aug 2009, 03:29 PM
the error i get is "parentNode is null or not an object" .
0
AR
Top achievements
Rank 1
answered on 12 Aug 2009, 04:43 PM
Hi,
I removed the model property and the radwindow works now, any thoughts on the behaviour?
0
Yavor
Telerik team
answered on 14 Aug 2009, 06:17 AM
Hi AR,

I suspect that this may be either a problem with the window, or an issue with the way the grid is created.
To further trace the issue, however, I would suggest that you open a formal support ticket, and send us a small working project, demonstrating your logic, and the unwanted behavior.
We will review it localy, and get back to you with additional information.

Regards,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
AR
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
AR
Top achievements
Rank 1
Yavor
Telerik team
Share this question
or