asp.net mvc - Partial View Dialog Events Do Not Work in Chrome -
a partial view page (cshtml) opened dialog angularjs window click in parent view page (cshtml), embedded component in dialog not respond mouse inputs - eg not respond clicks in chrome although in ie11.
specifically, have fileultimate file browser control in partial view page opened dialog. cshtml is:
@using gleamtech.fileultimate @model filemanager @using mycompany.owl.website.helpers @{ layout = null; } <head> <title>file browser</title> @html.rendercss(model) @html.renderjs(model) </head> <div class="overlay" id="filebrowser"> <h1>file manager<a href data-icon="×" data-ng-click="close()"></a></h1> <div> <div style="width:800px"> @html.rendercontrol(model) </div> </div> </div>
it opened angularjs controller parent page
$scope.openfilemanager = function () { var modalitem = { project: $scope.item }; filemanager.openfilemanager(modalitem); };
which in turn calls
filemanagerfactory.factory('filemanager', ['$modal', function ($modal) { return { openfilemanager: function (data) { var modalinstance = $modal.open({ templateurl: '/filemanager/filemanager?projectid=' + data.project.projectid, controller: 'filemanagercontroller', resolve: { projectdata: function () { return data; } } }); } }; }]);
the associated mvc controller partial view is
[accessauthorize(roles = "projectmanagers")] public actionresult filemanager(int projectid) { filemanagerapicontroller api = new filemanagerapicontroller(); //return view(new[] { filemanager }); return partialview("_filemanager",api.get(projectid)); }
i stumped reasons why ie11 dialogs work, chrome , firefox not. keyboard input processed chrome, no mouse. failure on fileultimate control. know why control not respond in chrome? angularjs?
since vendor not believe control has problem, exploring other ways of opening without embedding in dialog cshtml, biggest problem passing data parent view mvc controller of file browser. data held in html controls of parent page , $scope variable seems preclude calling control in @html.beginform. file browser can opened after configured record specific data in parent window, , cannot navigate away parent page. file browser has own stand alone ui.
ps - 1 other odd observance ie11, chrome44, , firefox33 render dialog differently - 3 different renditions of same cshtml.
Comments
Post a Comment