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

[Solved] grid editing with popup window - fix?

0 Answers 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rene
Top achievements
Rank 1
Rene asked on 10 Apr 2011, 07:00 PM
In nested popup windows ( where grid A opens popup edit window - where popup edit window contains tabs with grids also opening popup windows - all my close, insert, update, and cancel buttons would stop working all of a sudden.

Digging - I found what was breaking: (this is probably not the root cause) - but this is how I fixed it - and it all works well now:
(change below in bold)

In telerik.window.min.js

in the close:  function()

where:

var g = d(".t-window").filter( function( ) {
   var i = d(this);
   //  I added the next 2 lines since i.data("tWindow") is null in my nexted popups....
   if( i.data("tWindow") == null || i.data("tWindow") == 'undefined )
     return i.is(":visible")

   return i.is(":visible") && i.data("tWindow").modal
});
Tags
Grid
Asked by
Rene
Top achievements
Rank 1
Share this question
or