modalpopup

Xamarin Forms content page make background color transparent

半世苍凉 提交于 2020-05-16 02:28:07
问题 I have a requirement where in I need to display a list in a modal popup page.I am able to display a list but I cant make the background color transparent or semi transparent so that the page under it is partially visible. I am pushing the page from my View Model using the folowing: NavigationParameters oNavParams = new NavigationParameters(); oNavParams.Add("Mode", "FeedBack"); oNavParams.Add("selectedItem", txtFeedback); _navigationService.NavigateAsync("PopupBox", oNavParams); Here is my

how to pass parameters to modal popup?

 ̄綄美尐妖づ 提交于 2020-01-05 04:01:06
问题 I am working on Nativescript application where i need to open view on click of list item. So i will have to pass id of that item to the modal that is about to open on click of list item. Here is my code as i tried and for opening modal popup : var modalPageModule = views.appointmentDetails; var context = { id: args.view.bookingId // i tried this way for passing parameter }; var fullscreen = true; page.showModal(modalPageModule, context, function closeCallback(parameters) { // Log the user in.

How to get access to `BsModalRef` in opened modal component?

烂漫一生 提交于 2019-12-24 10:14:36
问题 I'm quite new to Angular 4.I have been working on Angular 1.5.x and now converting same application in Angular 4 with ngUpgrade hybrid approach. I'm using ngx-bootstrap modal component in my hybrid application in order to replace existing modal service. I found some problem in following guide ngx-bootstrap-modal with service. Having problem with this statement If you passed a component to .show() you can get access to opened modal by injecting BsModalRef I'm copying same example here, export

disable background in jquery popup

你离开我真会死。 提交于 2019-12-23 01:17:08
问题 OK, So i have this snippet http://jsfiddle.net/8vFEd/ here; whenever the popup comes up, I either want to disable the background, so that users can't click on another language until they close the first popup, or how would I accomplish that, whenever users click on second language, the first popup disappears and its corresponding popup appears. 回答1: My suggestion would be to put an overlay over the background which will "catch" clicks through to the rest of the page. Add the following to your

Opening web pages inside a div in asp.net

不问归期 提交于 2019-12-13 22:39:11
问题 I have a requirement of just surfing through the net in my asp application and for that purpose i dropped an iframe. But after that i found that certain sites likes google,fb,youtube etc wont open up in iframe due to security concerns. After some discussions with my colleagues, i thought of a solution of displaying the web page(just like iframe) in a div and then displaying that div in a modal pop up,in which the user can navigate to any pages within that modal pop up But after some initial

Ajax ModalPopup wrong display in IE8 - IE9

倖福魔咒の 提交于 2019-12-12 14:19:19
问题 Im using ModalPopup (AJAX) in my aspx web (VB.NET) using a masterpage, it works fine in (ie6, Firefox) but when i use IE7, IE8, IE9, when i want to open the Modalpopup, is displayed incorrectly (the screen is enlarged and when I use the mouse wheel the screen become bigger and bigger :( ) I've already try changing the doctype, adding '<meta http-equiv="X-UA-Compatible" content="IE=8". I hope you can help me... *Im using AJAX TOOLKIT 3.5 , VISUAL STUDIO 2008 Here is my code: ModalPopUpPage

Inserting rows to tableView using modal popup

我是研究僧i 提交于 2019-12-12 04:08:24
问题 I'm making a basic fitness app and within it I have a food diary that tracks the food you eat on a daily basis. I have a modal popup (picture below) that shows when you tap "add food". I'm having trouble inserting rows from the modal popup when the button "Save to Food Diary" is pressed. I'm also trying to update the calories label to the current calories the user accumulated throughout the day. Heres the code i have so far: class PopupVC: UIViewController { var section: Int? var

Modal Popup and views communication under MVVM pattern on C#

ぃ、小莉子 提交于 2019-12-02 11:04:44
问题 I have a large project coded with VB6 which I've been trying to upgrade to new technologies for a few months. My project consist on 6 administrative modules reunited under a client-server application. Coming from VB, my logical choice was to upgrade to .NET. After a lot of research I decide to use C# , WPF and the MVVM pattern (with Caliburn Micro). At the beggining I had some problems, but I managed to resolve them. But now I've come to a point where I need (like every complex application)

Modal Popup and views communication under MVVM pattern on C#

南笙酒味 提交于 2019-12-02 03:15:21
I have a large project coded with VB6 which I've been trying to upgrade to new technologies for a few months. My project consist on 6 administrative modules reunited under a client-server application. Coming from VB, my logical choice was to upgrade to .NET. After a lot of research I decide to use C# , WPF and the MVVM pattern (with Caliburn Micro). At the beggining I had some problems, but I managed to resolve them. But now I've come to a point where I need (like every complex application) to communicate with different views and their corresponding viewModel through modal popups (or some