.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Imran Ghani
Sohaib Khalid
Post New Web Links

HELP *#&$ing piece of #@% Popup control placment

Posted By:      Posted Date: October 12, 2010    Points: 0   Category :WPF

I'm making a custom control that is a numeric keypad. You can hook it to a text box and when the text box gets focus it will pop up the keypad window for data entry, additionaly it checks the validation errors for the host control and if any, it will display them in a popup. The keypad window work fine, it's the validation error popup that killing me. My problem is this: First in order to get the Popup to display in the corect Zorder(to be top most) I had to set an event handler on the popup's Opened event and in that event I had to toggle it's parent window's TopMost property from true to false.(I'm totaly baffled by this). This all works if I bring the keypad window to life with it's Show() method, this is not what I want because of the modless behaviour. Instead I want to bring the keypad to life with it's ShowDialog() method, but if I do the popup for the validation error info stops calling the CustomPopupPlacment delegate assigned to it, and no longer positions correctly. Can any one help? I don't see a way to attach the source code so I'll post it here: http://www.griffinautomation.com/GriffinWeb/Portals/0/datasheets/KeyPadTest.zip 

This is a test app for the keypad eventually I will use it for a program that controls a machine we build tha

View Complete Post

More Related Resource Links

Using ATLAS PopUp Control with Calendar inside the GridView Control

In this video tutorial Mohammad demonstrates how you can access the Calendar control which is displayed using the ATLAS PopUp control inside the GridView control.

Open different page using Ajax Modal PopUp Extender Control

The article Open different page using Ajax Modal PopUp Extender Control was added by Chintan Dave on Thursday, July 15, 2010.

You May use Modal Popup Extender to open some part of the page as Popup. But there we don't have any property to open other html or aspx page in Popup window.We can do it using IFrame control. What we have to do, just add IFrame control in Panel that

Datalist and Ajax control toolkit Modal Popup window

Hi friends I have created list of thumbnail images in datalist and on clicking image i want to pass image name to Ajax control toolkit Modal Popup window which display bigger image.   Please help me.

Table popup control needed

Hi i got a Html table with Database names displayed in it , now when i hover overthen the need to display images with the path is also saved in the database , so i would have to add some asp.net control in the HTML Table  ,  No Javascript , i have tried it and when i search for names in the database the pics in the table are not where they belong . Need asp.The names are displayed via int howmany=0;while(read.Read()){howmany++;ShowinTable(read["Code"].ToString(),howmany);}Thanks any for suggetions.

Update Gridvew Row inside popup extender control

I have a gridview with popup control extender to show details of the row, it works ok. But I also need to update the fields inside this popup window. How do I get the row ID and pass it to the button click event handler? Please help. 

What is the trick to using a Seadragon AJAX control with-in a AJAX hovermenu or popup control


 I have teh seadragon working, but when I try to active it with a hovermenu or popupcontrol, I don't get an error, I just get everything except for the actual image.  It has the background, the controls of enlarge, shrink etc, but no image.


Any ideas?

Open Popup using Hyperlink Control

How to open a pop up window by clicking Hyperlink control in asp.net?

want to open popup screen on button on user control and and display same user control on pop up


Hi i have page where i am calling user control, on user control i want to give button when i click button same user control should appear on popup screen

but not able to do , here code






void Page_PreRender(object sender, EventArgs e)//some value set as hard coded






string defLayer = "1";//Build the params to be passed to gdd xaml file.







defLayer =


how to popup web user control wsing On click event..


Hi all....
I have one web user control and i have one button in my .aspx page. i want to display Web user control when i click the button in the aspx page..

Here is code of my aspx page

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<%@ Register src="WebUserControl.ascx" tagname="MyUserControl" tagprefix="uc" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server">
<uc:MyUserControl ID="UserControl1" runat="server" Visible="false" Name="Bob" />

How to open a popup window from user control



I would like to open a popup window from user control on button click event.

I am using the following code but I am not able to open new window any idea let me know

string sUrl = "www.google.com";
        Response.Write("<script>window.open('" + sUrl + "', 'mywindow','resizable= yes,scrollbars= yes');</script>");



.Net custom user control buttons (events) not firing in Jquery Modal Popup


I have a custom control, that has takes some information from user and submit to the database. it is working fine in normal aspx pages. but when i display that custom user control in jQuery modal popup. The events does not fire or lets say the data is not submitted to the database.

any help on that?

How do I control the delay of the hover popup in CSS


I am trying to use the hover CSS attribute to create a simple box around a button control on a web form when I hover over it.  If I use the border or outline attribute to do this, it works fine...the box pops up when I hover over it, but if i move very quckly over the button it just does nothing.  I have to move slowly over it for the pop ups to work.  Is it possible to change this delay in CSS for just the border or outline paramater?

If I use "text-decoration: underline" for hovering instead of "outline: white solid 1px;", or "border: 1px solid white;"  there is no delay. 

If I try drawing a box around it using the border or outline attribute it still works but is delayed. 


Here is my CSS

      	background-color: transparent; 
	border: 0px none transparent;
	height: 28px;
	width: 150px;
	text-align: left;

	outline: white solid 1px;
Any ideas?




popup insert control -> imagebutton



I used popup insert control in my web site.  I would like to show ImageButton with image instead of standart Button on Foreign Field template.

What should I change to achieved that?

Adding Dynamic Rows in ASP.NET GridView Control with TextBoxes and with Delete functionality

In my previous examples, I have demonstrated on how to add dynamic rows in GridView control with TextBoxes and how to save the values into the database. Now, seems that most of the developers are asking if how to add a delete functionality with it. So in this example, I'm going to show on how to delete a certain row in the dynamic GridView with TextBoxes.

Accessing the different controls inside a GridView control

how we can access a particular control which resides inside a GridView control. In this article I will show you how you can access different controls inside a GridView control. We will see how we can access a TextBox control, a DropDownList control and a ListBox control. If you are working with ASP.NET 1.X then you might want to check out my article Accessing Different Controls Inside a DataGrid.

In-Depth look at the GridView Control

In the last article we looked at few of the new controls available in Asp.net 2.0. We also talked about Grid View Control which has replaced the Asp.net 1.1 DataGrid control for good. In this article we will examine more features of the Grid View control. In this article we will see some of the common operations that can be performed using the GridView control. Apart from these operations there are many more functions that can be performed on the control and which we will see in the later articles

ASP.NET repeater control - databind with style

even used the inline editing features, which I at the time thought was the coolest way possible to write ASP.NET code ( I managed to write code to hide all other rows and only show the current one - the row being edited). With a nice looking EditTemplate it looked indeed very slick but it really turned into giant and hard to manage code behind files.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend