Click here to Skip to main content
15,892,737 members
Everything / Popup

Popup

popup

Great Reads

by Andy Point
Android Alert Dialog Tutorial : Working with Time Picker, Date Picker and List Dialogs In this tutorial we will discuss how to use dialogs and alerts in Android Apps. A Dialog is a small popup shown to the user to get some additional information from the user or ask him to make some decision. Alert
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
This blog will take you through the steps to call a simple WebMethod to get the details of one record shown on a Repeater and show the retrieved details on jQuery Dialog popup.
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
This blog will take you through the steps to create an ASP.NET Repeater and show the details of a particular row on jQuery Dialog popup.
by _eol_
This article presents the minimal code necessary to display a hierarchical tree using Popups.

Latest Articles

by Andy Point
Android Alert Dialog Tutorial : Working with Time Picker, Date Picker and List Dialogs In this tutorial we will discuss how to use dialogs and alerts in Android Apps. A Dialog is a small popup shown to the user to get some additional information from the user or ask him to make some decision. Alert
by _eol_
This article presents the minimal code necessary to display a hierarchical tree using Popups.
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
This blog will take you through the steps to call a simple WebMethod to get the details of one record shown on a Repeater and show the retrieved details on jQuery Dialog popup.
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
This blog will take you through the steps to create an ASP.NET Repeater and show the details of a particular row on jQuery Dialog popup.

All Articles

Sort by Score

Popup 

18 Jul 2016 by Andy Point
Android Alert Dialog Tutorial : Working with Time Picker, Date Picker and List Dialogs In this tutorial we will discuss how to use dialogs and alerts in Android Apps. A Dialog is a small popup shown to the user to get some additional information from the user or ask him to make some decision. Alert
4 Oct 2016 by F-ES Sitecore
You have to understand the asp.net page lifecycle and the order things occur in. First your code-behind runs and that generates html (all RegisterStartupScript does is inject javascript into that html), that html is sent to the browser to execute, and it is at that point you see the...
4 Apr 2014 by jacobjohn196
Hi,Put AutoPostBack="true" in your textboxAlso add textbox id in AsyncPostBackTrigger , this would work.
6 Mar 2014 by Sanket Saxena
Simple, just add a div near that text box and on the keypress event for that textbox display block that div (or show() using jquery).
24 Apr 2014 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
The most convenient way to tackle this problem is to implement jQuery Dialog[^].
11 Jul 2014 by pdoxtader
You'll have get a list of all the open windows on the machine, and wait for the message box to pop up and be in the list. Then you can select it and send an enter key to close it. Just try Googling "vb.net enumerate open windows" and you'll find many code examples.-Pete
12 Jul 2014 by Dave Kreskowiak
Well, buttons are nothing but more windows. You just look for more child windows of the message box window you found.You can NOT just get the handle from a window and then try to cast it to a Form object and expect all the properties to work. It just doesn't work that way.
30 Dec 2014 by Tushar sangani
Write Below Javascript code and Ajax Method$('#').click(function () { var numb=$('#').val();var name=$('#').val(); $.ajax({ type: "POST", ...
12 Jan 2016 by Member 10273293
i have some images and i wanted when user click any image a model popup open and display that image in that popup. but i don't know how to create model popup ?please tell me how to create model popup and use it with imagebutton ?
12 Dec 2016 by ManoharGPatil
Indexclick me function popup(url) { window.open(url, "#1",...
11 Nov 2013 by Arun Aswin
How to edit DataList images into popup window in Asp.Net?
30 Nov 2013 by Arun Aswin
http://www.constantinb.com/project/jquery-image-zoom-zoomit/
16 Feb 2014 by gunkrr
i have code for combo box selected index changedevery index change i called field on database to assign another label textcode like this:conn = Connection.GetInstance();pixelRanges = pixeRangeDao.GetDataById(cbAreaCluster.SelectedIndex);lbDescription.Text =...
18 Feb 2014 by gunkrr
i have to try refer attribute from another form and successthis is part of code public MainForm mainFormRef; public int id; private Connection conn; public FormInformation(ref MainForm mainForm) { mainFormRef = mainForm; ...
24 Feb 2014 by Tom Marvolo Riddle
Try this:http://www.aspsnippets.com/Articles/ASPNet-AJAX-ConfirmButtonExtender-with-ModalPopupExtender-Example.aspx[^]
6 Mar 2014 by jayraj86
How to add popup message box on the side of textbox when we click to enter text in textbox in asp.net like its in gmail
6 Mar 2014 by Anubhav689
Hey Buddy,Your question is not clear, please mention clearly what do you want!
6 Mar 2014 by dan!sh
You can make use of jQuery for this. Here[^] is a nice plugin that does it for you.
9 Mar 2014 by Chinmay Bhagat
I want create a popup that comes on pageload..i.e. a user can't manipulate a page without logging in with his account and once he does he is able to use the services of the website
3 Apr 2014 by Member 10724146
Hi,I want to using modal popup according to textbox value. i.e when i write a string like "test" in textbox, modal popup show. I try to this with textbox change event, but it didn't.here is my code:aspx file: ...
20 Apr 2014 by NOEL14
http://i58.tinypic.com/2ni6vpw...
20 Apr 2014 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
If you are getting it while leaving the page, then either or both of the following reasons is true...You have some unsaved changes on some input boxes on the current page.There is one Event onbeforeunload[^] defined in your code for the current page.
24 Apr 2014 by Xiao Ling
Only the pages hosted by yourself can be opened automatically. If you want to open other sites automatically, you need to set them trusted. The security mechanism is not only implemented in FireFox, but also Chrome and IE.
20 May 2014 by Rida Alexander
Hello developers,I'm wondering how to create pop out object in android app project.I read some pretty interactive books from Loud Crow Interactive Inc. such as PopOut! Peter Rabbit, Charlie Brown's Christmas etc.Have anyone here ever read those books? :-)I'm amazed by the pop out...
11 Jul 2014 by saleem_deek
Hi,I have to automate repetitive tasks of a windows application (no API), using VB.Net.What I did is simulate key strokes usually done by user.I'm using System.Threading, and initiating the application using a new process.My PROBLEM is, that this app pops a message box when a task is...
12 Jul 2014 by saleem_deek
Hi all,I'm working on a VB.Net project where in part of it I catch a pop up message box when it's displayed and handle it in some way.My problem is that I have to know what buttons are included in this pop up window (their captions mainly).Is this possible? Can someone please tell me how...
22 Jul 2014 by Ric_Net
I have asp chart, on click of which a modal pop up opens.Issue is on closing the pop up the graph (on click of which the pop up opened) disappears.Please help :(
13 Aug 2014 by TheWebDeveloper
After login I want to open a web page as a popup in a new window and I want the main page to redirect to my home page. How can I do this? How can I open the pop up from code behind?
13 Aug 2014 by Trung Nguyen Son
1. To open popup:Dim queryString As String = "test.aspx" Dim newWin As String = "window.open('" & queryString & "');"ClientScript.RegisterStartupScript(Me.GetType(), "pop", newWin, True)2. To redirect:Response.Redirect("home.aspx")
14 Aug 2014 by NowYouSeeMe
window.location.href = "Home"; window.open('Yourpage', '_blank');first code will redirect ur page to home.n second code will open new page in new browser tab..
21 Sep 2014 by Member239258
hi all,I want to open Popup window when the hyperlink clicks in gridview.This hyperlink is inside template field.here, its opening full page...I need width=500px and height=500px when hyperlink clicks.and the popup window must be in center.This is my code.
21 Sep 2014 by ChauhanAjay
Have a look at this link.Open Popup Window with HyperLink inside GridView[^]
8 Nov 2014 by ATjong
I want to pass an ID to a pop-up I call using dnnModal.show function.Im using the current fucnction: function ShowEditForm(id, rowIndex) { javascript: dnnModal.show("Paymentmatchform?popUp=true", false, 250, 450, false); ...
1 Dec 2014 by SrikantSahu
Hi Dhanesh,I have simulated your requirement using two html files.1.html- var counter = 0; function showDialogs() { returnVal = window.showModalDialog("index.html",{ counter : counter , obj : window},...
12 Dec 2014 by Raj Negi
I have one asp.net image control in which i bind image from code behind. I want when i click on this image control it shows this image as pop up.Image1.ImageUrl = "~/Image/" +...
13 Dec 2014 by SrikantSahu
Hi Raj,If we bind the imageurl on click of the image it unnecessarily goes for a postback, so it is better to bind the url at the first go only and keep in hidden mode.Actually no need of having the asp:Image control simple img tag can also solve this problem.The below code will show...
13 Dec 2014 by Raj Negi
I used ThickBox It is quite good and easy to implement.Just add js and css file to page.Small image inside image tag and full image inside tag.Remember...
29 Dec 2014 by Raj Negi
I am trying to make small popup form. When user click on "Show Popup" button, a pop up will show with two fields 1.) number 2.) email and two buttons "Send" and "Cancel".I Want when user fill any of the two fields or both fields....and click on send button then at code behind corresponding...
8 Feb 2015 by thorssig
Antivirus programs such as Comodo Internet Security have extremely cool access control to files based on program access.I'm particularly interested in how they interrupt access to files, provide a pop-up asking the user to confirm and then allow/deny access to files based on his reply.Any...
8 Feb 2015 by Frankie-C
AV software make use many different systems, some of system hooks, rootkits (i.e. kaspersky) and AV API's form MS for office products.If you want take a closer look check clamwin that is an open source AV under GNU license.About hooking there are some excellent articles here like EasyHook.
11 Jul 2015 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Here we answer specific questions which members face during programming. We can't work on the whole source code. You need to do that yourself.If you face any difficulty while coding, feel free to come back here and ask another question with specific issue describing the scenario....
13 Jul 2015 by Member 3683170
Hi,My requirement is like below: 1. A link will open a popup window.2. In the popup window there will be a search option and search result will be displayed in a table.3. One column of the table will be hyperlinked and clicking on the hyperlink will close the popup window and retrieve...
29 Aug 2015 by Aashish Kumar Shaw
Hi, I have many variables assigned in many .js files in my chrome extension. But sometimes I need to change those variable values. To change, I need to edit the .js script each and every time. Can you please suggest any method where I can change the variable values in .js script files directly...
18 Sep 2015 by didiiiiiii.7
I've got the following issue:I've got a table with orders. On each row there is an Edit button. When I click it a popup opens and the order is loaded to be modified. The problem is that I cannot pass the right value to the SELECT query in php.function fnOpenNormalDialogEdit(jQueryParam)...
12 Jan 2016 by Passion4Code
Hello,Please follow the below link. You can use Bootstrap modal here to display the image inside the Modal Pop up.jquery - Bootstrap open image in modal - Stack Overflow[^]Bootstrap Popup modal image - center vertical example code[^]Hope these help.Thanks
25 Feb 2016 by Member 12350213
In a asp.net mvc project, I use three button. When i click a button like "KOT" button, i want a pop up window. In pop up window want to save some data like Restaurant food order information. After click save button, pop up window don't hide and that saved data will show in the right side of that...
18 Mar 2016 by Member 12402815
I'm trying to build a jquery content editable code where a user identifies the editable div while hovering the mouse, once it clicks on that div the content becomes editable and buttons pops up for selecting type of edit. Now when I click the button a text editor pop up and formats the text,...
1 Jun 2016 by Member 10527566
as you see in following code. I create a popup one time with child and other time without child.the problem is they open in different places.note: this happens in some laptops(PC) not all of them.my laptop = ZenBook model:UX303L (Windows 8.1)Result Picturemy code: public...
5 Aug 2016 by Coddddder
I am trying to open a modal dialog in parent page from iframe (Button to open a modal dialog is in iframe but modal div is in parent page). But no success.I have a parent page like below:- ...
6 Aug 2016 by Muhammad Shan
My Controller: [HttpPost] public ActionResult DeleteStudent(int id) { Student s = db.Students.Include("Cla").Include("Section").Where(e => e.Id == id).SingleOrDefault(); ...
1 Jan 2020 by Umesh AP
I am developing application which has Index.cshtml (main pg with searching criteria & Search button), _PartialView.cshtml (partial view displaying records with update/delete links), Edit.cshtml (View for updating). After clicking Update link, popup modal dialog is opened containing Edit view...
30 Sep 2016 by RaunakGupta
you need to add this script on layout pageplace on parital view
4 Oct 2016 by RaunakGupta
put any div on myedit.cshtml.put this div in your myedit.cshtml.on success or failure of that action call.display your exception on this div.using javascrript
5 Oct 2016 by planetz
Hi All,I tried to display pop up alert from c# code behind file.My problem is that when the pop up statement is the only thing to be executed, it goes very well. But when it is combined with some other statement, it does not work.For example,this worksif(condition) ...
4 Oct 2016 by Karthik_Mahalingam
If you want to show the alert before redirection you shall do it in javascript emp.logout(); string redirectScript = " window.location.href = 'otherPage.aspx';"; System.Web.UI.ScriptManager.RegisterStartupScript(this, GetType(), "displayalertmessage",...
17 Oct 2016 by Baburc
Hai I Want to display a popup below the selected cell of datagrid. I use the code below ,it is working almost but the problem is when I maximize or resize the form the position is displayed not correctly.Please tell me how to do thisThanks.In XAMLPopup Margin="0,0,0,0"...
5 Oct 2016 by Member 2160987
Hello,I'm implementing the modal popop window using this EXCELENT article:http://www.codeproject.com/Articles/589445/JavaScript-Modal-Popup-WindowI'm using the "Show URL Window". All is working as in the example. But I need to close the popup when user confirm data instead of show...
17 Oct 2016 by Baburc
I got it myseslf private double GetColumnXPosition(DataGridColumn column, DataGrid grid){ double result = 0.0; if (grid == null) return result; for (int i = 0; i
12 Dec 2016 by AParija
I have a MVC view page in which there is a HTML ActionLink and on click of that action link, i want to open a new popup window without closing the previous one. In this new popup window i want to show a MVC view but i am unable to do that.What I have tried:Now i am using the following...
12 Dec 2016 by Rafeeque B Muhammad
Please implement and dialogue plugin if you want to open in the same window.You can try below jquery UI pluginDialog | jQuery UI[^]
19 Apr 2017 by Member 11871625
Hello, I have a problem and it will be nice if someone can help me. I want from my controller open a poup-up that contains data and ask a question to the user. According to his answer, I continue or stop treatment. Function Traitement(model As TraitementViewModel, confirm_value As String) As...
19 Apr 2017 by Dave Kreskowiak
You can't. The controller cannot push content to the client, including a dialog. The controller can only respond with data to a client-side request. You can have a controller action that is called by client-side code and responds with a message that tells the client-side code to display a...
4 Apr 2018 by Jaydeep Shah
i have list of user using datatable i display . having edit button in each row. 1st page popup modal open perfectly but after 2nd page it not open. in pagination first 10 record butoon click popup open after 2 page click (datatable) popup not work....when i click on edit but nothing happend. ...
5 Mar 2018 by Member 11851484
Quote: Hi, Everybody I need to call a jquery popupform function inside the onclick event tag a using ASP.NET MVC, Every thing is looking fine but when I click on the btn add new the jquery popupform function dose not open and also the return json data dose not execute Please have a look to...
1 Apr 2018 by Member 13719302
Hi guys i am making a time line view to show project duration and details,like gaant chart.I want to show project details when the mouse goes to a colored cell.I have attached the timeline view that i created. ImageShack - timerange.png[^] This is how the table cells are created.
2 Apr 2018 by Babiiii
Good evening, I've been trying to create my own C# program that can message another Computer within the network. Unfortunately, none works. Please help me to make a C# Program that can pop-up message or notification message another computer within its network. What I have tried: I tried ...
2 Apr 2018 by RickZeeland
I think it would be easier to use SignalR, see introduction here: SignalR | The ASP.NET Site[^] See examples here: c# - SignalR Console app example - Stack Overflow[^] Tutorial: SignalR Self-Host | Microsoft Docs[^] SignalR Chat App With ASP.NET WebForm And BootStrap - Part One[^]
28 Aug 2018 by Richard Deeming
You can't. If you could, it would be trivial for malicious sites to trick users into thinking that the dialog was a system-level message. Also, showModalDialog was removed from Chrome in 2014[^], and from Firefox in 2017[^]. It's deprecated in IE11, and not supported in Microsoft Edge. There...
4 Sep 2018 by sunil kumar meena
Recently we have upgraded tinymce to its latest version 4.8.1 and since then we are facing popup position issue. When user clicks on Insert Link, Widget, Insert/Edit Images etc. buttons then the respective popup window opens in the bottom of the page. This tinymce is inside an iFrame. ...
6 Nov 2018 by Vincent Maverick Durano
JavaScript isn't really required not unless if you want a fancy tooltip. In general, you can simply do something like this at RowDataBound event: protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) ...
21 Nov 2018 by OldSeaDog
I have a DrExplain help facility (css, js, htm files) that I want to use in a SharePoint 2013 custom web part via a popup window. This works well in .NET applications but not in SharePoint. The DrExplain folder is in a SharePoint SiteAssets folder. When accessed by .NET applications, the...
12 Mar 2019 by Codes DeCodes
I am using modal pop up for user to enter email and password to login. This is implemented in post method and the issue is I am not getting null in posted values. I have another Get action implementation same view which is working fine. My code is: @*@*Jquery Dialog Link Starts*@ ...
12 Mar 2019 by F-ES Sitecore
It's the "name" of the element that is posted to the server and used for model binding, not the id. You can keep the id but add the name as well. If you use the built in @Html helpers they do all of this for you.
22 Aug 2019 by Virendra S from Bangalore, Karnataka
I need to display a jquery popup post completion of some server side validation. how to achieve this. protected void linkbutton_Click(object sender, EventArgs e) { if() { Some validation} Else { //need to display a jquery popup } } if i need to call with Javascript, how to call a js...
22 Aug 2019 by F-ES Sitecore
Assuming everything else is fine, your alertfunction will fire before your $(...) function so you are opening a dialog on a div that hasn't been attached yet. Move the ".dialog" init code into your alertfunction method too. Other than that check the console for errors.
9 Dec 2019 by Mohammad Tavoosi
Hi Friends . I have a C# Windows Form project.I'm going to have a Notification popup in the project that it works with timer and I'm going to show the Notification popup before form loads can you help me? What I have tried: I have not tried any useful codes to do this yet.
9 Dec 2019 by Ashutosh Gpta
just override the OnLoad method. protected override void OnLoad(EventArgs e)
1 Jan 2020 by Shravansingh Rajpurohit
ajax - MVC Return Partial View as JSON - Stack Overflow[^] read this one it's also resolved my problem.
11 Feb 2020 by .Net Perfect Dev
hi, i create a project WPF with 3 files xaml of user control in this architecture my question is how can i access from User control 1.1 to the the Grid control Parent? my objectif is maximize the popup child1.1 in same height and width of Grid...
11 Feb 2020 by AnkushK1
Try this Width="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type GridControl}},Path=ActualWidth}"
9 Sep 2020 by Marcy Shieh
I am trying to create a mobile-friendly pop-up that allows people to click on a link in a Qualtrics survey that opens a new window that takes them to an external site. Once they are on the external site, they are able to return to the original...
9 Sep 2020 by Richard Deeming
If a site doesn't allow itself to be embedded in an , then there's no way you can add a "decorator" to it to take you back to your site. The closest you can get is to open the site in a new tab. When the user closes that tab, your site...
30 Sep 2015 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
This blog will take you through the steps to call a simple WebMethod to get the details of one record shown on a Repeater and show the retrieved details on jQuery Dialog popup.
29 May 2015 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
This blog will take you through the steps to create an ASP.NET Repeater and show the details of a particular row on jQuery Dialog popup.
16 Jun 2016 by _eol_
This article presents the minimal code necessary to display a hierarchical tree using Popups.
23 Jan 2015 by Member 11248293
Hi Everyone!I just want to know how am I going to show a popup loading image(GIF) on button click event. The problem is when I do the this.ModalPopupExtender1.Show(); followed by a line of codes it isn't showing up.I have this codes:ASP.NET (ASPX)
16 Apr 2017 by Angelo L
So, I tinkered with this a bit yesterday. What you probably want is something more like an EventTrigger. I did this on MouseUp, but I guess for your usage it would be TouchUp. I also used the event to reset the placement target since it seemed to break doing this. As far as how you want it to...
8 May 2014 by Sunasara Imdadhusen
Hello,You have to remove OnClientClick. please use following.
26 Feb 2014 by Mohammed_Faisal_Majeed
We need to add this function which close the Popupfunction o() { if (confirm("Do you want to Exit?")) { a.modal && b(".bModal." + c.data("id")).fadeOut(a.fadeSpeed, function () { b(this).remove() }); ...
24 Apr 2014 by Member 10493581
I am making a web page, in which I have to open a popup window from an buton after 8 seconds(8000 ms).I want to put some delay(8 seconds) before a popup open automatically.my problem is that mozilla firefox block my popupHere is my code: ...
8 May 2014 by J. Chatterjee
I have taken a button control on my page, click which the page would show a pop up window. On that popup window, there is a 'ok' button, clicking which it would redirect you to another page. I have done it with ajax modal pop up extender. It is showing the pop up window, but it's not getting...
16 Apr 2017 by Robin Purbia
I am trying to implement Popup Control like below: [^] This has to be shown when MouseEnter event occurs on "Purple Question Mark" icon. But I am unable to implement such Popup style as I am new to WPF. Things I want to do as of now: To show Popup on a relative location to purple "?" mark...
7 Nov 2018 by Parazival
tq for replay Vincent Maverick Durano referred below Link[^]
11 Nov 2013 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
I guess you need IMAGE GALLERY USING ASP.NET DATALIST CONTROL PART II - IMAGE SLIDESHOW[^].
26 Feb 2014 by Mohammed_Faisal_Majeed
Hi Friends,I am looking forward to restrict outside click of Modal Popup and ask confirmation to Exit, any body can suggest me any API or working code to achieve this will be much appreciated.Thanks a lot in advance.
9 Sep 2014 by Roland Mendoza
I am just wondering why can't I see the alert pop up box after enabling it again? I accidentally confirmed a pop that says tells me if I dont want to see this pop up again, but it was just an accident, i really dont want to disable the alert box because I use those in debugging my program in ajax
9 Sep 2014 by Mohamed Rafiq K
You can try by clear browser cookies and restarting it
1 Dec 2014 by Dhaneshmon
Hi,I have an issue in my asp.net application.In my web application i used window.showModalDialog(url, arg) to show popup. According to my architecture One popup shows another popup that show another popup and so on.My aim is to redirect when session is getting timed out. So if i am...