I have some questions / problems with Telerik RadGrid and editmode 'popUp' with EditFormSettings setted
<EditFormSettings PopUpSettings-Modal="true"
InsertCaption="Aggiunta nuovo record"
EditFormType="WebUserControl" UserControlName="supedit.ascx" PopUpSettings-ShowCaptionInEditForm="false"> </EditFormSettings>
1. the popUp window dos not draggable with iPad or tablet devices, there is a solution ?
2. The popUp page does not display correcty in the center of the screen. I have just try a telerik javascript solution but it is not good for my scope, my solution is
var popUp;$.fn.centerMe = function () {var winH = $(window).height();var winW = $(window).width();var T = (winH - this.outerHeight()) / 2 + ($(window).scrollTop() / 2);var L = (winW - this.outerWidth()) / 2 + ($(window).scrollLeft() / 2);T = Math.round(T);L = Math.round(L);this.attr('style', 'max-height:590px; width: 400px; position: fixed; z-index: 99999 !important; left: ' + L + 'px; top:' + T + 'px;'); };function PopUpShowing(sender, eventArgs) { var w = $(window); popUp = eventArgs.get_popUp(); $("#" + popUp.id).centerMe(); }
With
<clientsettings><ClientEvents OnPopUpShowing="PopUpShowing" /> </clientsettings>
My question is: Is there a better solution?
Very THX !