popup

Can an HttpModule invoke a new IE pop-up window?

我只是一个虾纸丫 提交于 2019-12-25 09:33:54
问题 I am developing a custom application feedback tool. The idea is that when the user launches a particular application, I want a pop-up to appear, say a couple seconds after the user launches the application, that asks if they'd be willing to provide feedback. The pop-up will simply be a new IE window. So, something similar in functionality to: Response.Write("<script>window.open('" + sUrl + "', 'mywindow','resizable= yes,scrollbars= yes');</script>"); We have numerous web apps (ASP.NET) in our

Passing variable to popup box

懵懂的女人 提交于 2019-12-25 09:24:30
问题 i have a bit complicated problem about passing variables in php. I have listed and nested items in html <ul> tag and near every item i have button which should edit name of directory or file( <ul> list are generated from existing directory tree view in server). I managed to make a popup form to let user enter new name and i have path to the old name. list part in index.html(which is generated): <ul> <li> <p>folder</p> <div class="edit-button"> <a href="index.php?path=!working part with

How to show created ToolTipControl from ToolTip Component?

时光怂恿深爱的人放手 提交于 2019-12-25 09:24:17
问题 I have created a simple control which acts as a ToolTip and i have implemented drawing the text and painting the background in the control as my wish. No issues in this control side. and also i have developed a component for ToolTip which integrates the created ToolTip with the controls. here is the component class. [ProvideProperty("ToolTip", typeof(Control))] public class ToolTipController : Component, IExtenderProvider { public ToolTipController() { } Dictionary<Component, ToolTip>

html, javascript - popup window

半腔热情 提交于 2019-12-25 08:48:12
问题 i have popup-window in my script. I use window.open, but almost all browsers block this kind of windows. So i wanna change it to another popup, which include php-script. I saw it at another sites. As i understand, they use ajax. Could you provide for me some more info? 回答1: Try out the solution provided by thickbox, I think this is what you're looking for. 回答2: First, you create a div (or other element) with the aspect you want, adding it the following extra CSS: #popup { display: none;

Edit with bootstrap modal and AngularJS

Deadly 提交于 2019-12-25 08:05:26
问题 I have made bootstrap modal for edit particular data from my data-table. I am able to open popup and able to fetch my data as well, but as i am doing some changes in modal's text box it is suddenly reflect to data-table also (data-table is in another controller). I want to reflect it in data-table only if I am clicking Update button. And if I click cancel button then the previous value should be there. Here is my HTML code: <tr ng-repeat="Filterlist in macAddressListResult" class="text-center

Popup window in RecyclerView Adapter

只愿长相守 提交于 2019-12-25 07:59:30
问题 I am newbie at android, I am trying show popup window when RecyclerView item clicked but a little bit confused, I looked this question but cant figure out this Context issue public class MyAdapter extends RecyclerView.Adapter<MyAdapter.MyViewHolder> { private ArrayList<Mission> mDataset; public MyAdapter(ArrayList<Mission> myDataset) { mDataset = myDataset; } // Create new views (invoked by the layout manager) @Override public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {

Vaadin JavaScript popup only works first time in each session

≡放荡痞女 提交于 2019-12-25 07:26:35
问题 I have an application which requires a process to be cleaned up regardless of how the user exits the page. I'm using JavaScript to detect when the user exits the page via tab or browser closing, and showing a popup to ensure they know the current process will be stopped. This question regards the pop-up only, I just wanted to clarify why I needed one! When the user presses a button to start the process, the following code is called: JavaScript.getCurrent().execute( "var beforeCloseListener =

JQuery form validation with alert popup - alert still being shown with a valid submit

浪尽此生 提交于 2019-12-25 05:12:30
问题 I'm using the Jquery validate function for my form validation. So far I've been appending the error message to a page element, but I now want to display it in an alert popup. The alert popup successfully displays the error message when the user has not selected anything, however the pop still appears when they submit a valid form (this time without the error message). How do I stop the popup from appearing after a valid form submission? Here is my js code, I've implemented the alert for radio

Why does appendChild only work when I remove the docType

早过忘川 提交于 2019-12-25 04:56:16
问题 When I put any sort of doctype declaration like <!DOCTYPE html > , appendChild does not work.... Why? <form> <script language="javascript"> function function2() { var myElement = document.createElement('<div style="width:600; height:200;background-color:blue;">www.java2s.com</div>'); document.forms[0].appendChild(myElement); } </script> <button onclick="function2();"></button> </form> I'm trying to get data from a popup window's parent opener...is that possible? The data can be a string

Value cannot be null. Parameter name: control

前提是你 提交于 2019-12-25 04:56:10
问题 <cc1:ConfirmButtonExtender DisplayModalPopupID="ModalPopupExtender4" ID="ConfirmButtonExtender4" runat="server" TargetControlID="lnkremoveloc" Enabled="False" OnClientCancel="RemoveLocations"> </cc1:ConfirmButtonExtender> <cc1:ModalPopupExtender ID="ModalPopupExtender4" OkControlID="btnDisable" CancelControlID="btnCancel" BackgroundCssClass="modalBackground" PopupControlID="pnlRemove" TargetControlID="lnkremoveloc" runat="server"> </cc1:ModalPopupExtender> <asp:Panel CssClass="modalPopup" ID=