popup

ASP.NET MVC Postback on Modal Dialog/ Popup

Hi all, I have a link on an asp.net mvc view which opens a modal popup in which a second MVC view is rendered. The view in the Modal popup exposes several features which trigger a postback. The postbacks fire the correct controller methods but when i return the updated view the View itself is render as opposed to being rendered in the ...

Prevent Background Scrolling When Displaying Popup

I have a form that is displayed in a popup. After loading, the background is grayed out, but the user can still scroll the background content up and down. How do I prevent the background from scrolling? Example here the 'email this quote' link to the right of the pdf screenshot. Thanks! Joe ...

DX TreeList - how to make Popup menu on Tree Nodes?

Hello, i use DevExpress TreeList. Does anyone can put some example, how to create simple popup menu and add this menu on Nodes in TreeList..? ...

What's the easiest way to write a boolean animation?

Hello I have the following snippet: <StackPanel> <Popup> <TextBox ToolTip="Edit current date"/> </Popup> <Label "Current Date"/> </StackPanel> I want the popup to show when the StackPanel is clicked, and hidden when it (the Popup) loses focus. I was wondering what would be the shortest way to write this in xaml. ...

CSS Image Viewer - Align centre of the screen

Hi All, I want to use the below image enlarger/viewer but i would like the popup of the enlarged image to appear on the center of the screen. http://www.dynamicdrive.com/style/csslibrary/item/css_smart_image_enlarger/ I tried many ways but was unsuccessful.... Any help on this would be much appreciated. ...

JavaScript post form data to new window without "target"

What? I would like to be able to do a post request (does not have to be form data) to a new window without using the target attribute (XHTML validation). Why? I have a webapp (using jQuery) where the user selects a number of entries to print. Each entry id should be sent to a processing page that will display a printable version of the ...

Weird behavior when trying to reuse a popup window

Hey All We have a client requirement that has stumped me, embarrassingly enough. The client has a set of links that need to open in a popup window - if you click on any of the links, it should reuse the same popup window. Easy enough, I thought, so I threw something like this together: <html> <head> <title>Test</title> <meta ...

JScript: How to give focus to popup window

I'm making new window this way: var WSHShell = WScript.CreateObject("WScript.Shell"); WSHShell.Popup("This is popup."); But window appears under another ones. How can I move it to the front? ...

button click is not working

Hi, i am having a button on a modal pop up div. But i am not getting the click event of the button. I am calling this button inside a gridview. Whenever i call it outside the gridview it works perfect, but whenver i call it inside that gridview, it does not work. The popup window appears and disappears as desired buyt the click event...

Why doesn't my CSS pop-up message span the width of the browser viewport in IE?

I have this for my popup message (like stackoverflow has, you know the "You have earned a badge" "You have new responses" at the top): #message { position: absolute; top: 0; left: 0; z-index: 105; background-color:blue; font-family:Arial,Helvetica,sans-serif; font-size:100%; text-align:center; font-weight:bol...

How to get php variable from url (href link) in javaScript and generate a small popup window on mouseover with passed php data

I am totally new to JavaScript or jQuery. Actually I am developing a web application under which I need to access some data in url format and I want to display a small popup window on mouseover event on this url and on occurrence of this event, url will pass three different php data IDs to javascript. Then small popup window will get som...

Tile 2 popup windows

Hi all I have struggled with this for a week now and seem to hit walls everywhere I go...so here i am looking for some help with this....hopfuly it is possible. I need to TILE 2 popup windows....dont worry...not annoying ones and they will be at the request of the user ok...to the point. What im trying to is have a link on my site th...

Selenium RC popup window question

My webpage submits information to a page and the response returns a popup window. Does anyone have an idea about how I can validate the information in the popup window? Popup window doesn't have a WindowId and I'm not able to get hold of the popup window using selenium.GetWindow("popuwindowname"), selenium.GetWindow("title=something") o...

Problem with Popup.StaysOpen in WPF

I got my UserControl that contain: Button Popup (contain Text block) XAML <UserControl> <button Name="btnShowPopup" Content="Button" Click="Button_Click"/> <Popup Name="popup" StaysOpen="true"> <TextBlock Text="Popup"/> </Popup> </UserControl> Code Behide private void Button_Click(object sender, System.Windows.RoutedEventArgs e)...

Issue with jquery popup window

Hi, I am using a popup plugin to open my popup window. Generating html table using Javascript. In that there column Employee Id having hyperlink. I am openning popup on click of hyperlink to display the employee details. Dynamic generated code: <a id='" + arrElement[0].EMP_DATA[i].EMP_ID +"' href='employee.do?requestSource=EMP_PRO...

Pop up in Asp.net

hello how do i create a pop up and how can i set the size etc. ? ...

Can I move HTML DOM object to a browser dialog to implement "detach" functionality

If I open a browser dialog with window.open, can I move HTML DOM object back and forth? I know how to use jQuery's .detach() to move stuff (with all bound events) within the page. I wonder if there is a way to do it between a page and it's child dialog. The main purpose is to support a "detach" or "tear off" functionality for a widget...

Popup window and context menu

I am using the ToolStripDropDown to host the user control as the pop-up window. The problem is when a context menu strip is displayed from within this pop-up window, the pop-up itself closes in the moment the context menu opens. I have tried to subclass the ContextMenuStrip and added WS_EX_NOACTIVATE to CreateParams but nothing changed. ...

How to dismiss a popup in Silverlight when clicking outside of the control?

In my Silverlight UI, I have a button that when clicked pops up a control with some filtering parameters. I would like this control to hide itself when you click outside of it. In other words, it should function in a manner similar to a combo box, but it's not a combo box (you don't select an item in it). Here's how I'm trying to capt...

WPF Popup hiding problem

Hi ! Suppose you have a ToggleButton for opening a Popup, same behaviour as all known elements as ComboBox etc. ... which is this code: <ToggleButton x:Name="PART_OpenToggleButton" Focusable="False" IsChecked="False" Template="{StaticResource MyToggleButton}"> <Grid> ...