Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3475
WebDataGrid with RowEditingTemplate - template not visible after upgrade to Infragistics 13.1
posted

Infragistics4.Web.v13.1, Version=13.1.20131.2045

Windows 7

IE 9

I have a WebDataGrid that contains a RowEditingTemplate.  There is javascript that centers the template on the container that I copied from an example on the Infragistics site from Craig Shoemaker.  This control was built using Infragistics4.Web.v11.1, Version=11.1.20111.2238.  When we upgraded to 13.1, the template is now not visible.  If I remove the function that centers the template, I can see part of the template but only the hight and width of the grid.  The following is the code that used to center the template.  Any help would be appreciated.  Thanks.

    function _wdgEscrow_TemplateOpened(grid, args) {

        var container;

            container = grid.get_behaviors()

                            .get_editingCore()

                            .get_behaviors()

                            .get_rowEditingTemplate()

                            .get_dropDownBehavior()

                            .get_targetContainer();

             container.style.marginLeft = "0px";

            container.style.marginTop = "0px";

            container.style.left = "600px";

            container.style.top = "200px";

    }

 

 This is how the template displays with the above code removed.  Not sure if inserting the image worked correctly here....

 

Parents Reply Children