model view controller - positioning edit-form Popup for telerik mvc grid -
can tell me if there way position edit-form popup mvc grid align center of screen?
thanks guys valid answers. know can position custom popup window not built in edit mode windows.
however manipulated position jquery on client side on_edit api of telerik grid.
var popup = $("#" + e.currenttarget.id + "popup"); popup.css({ "left": ($(window).width()/2 - $(popup).width()/2) + "px", "top": ($(window).height()/2 - $(popup).height()/2) + "px" });
e.currenttarget.id gives gridname.
Comments
Post a Comment