AJAX :: ModalPopup Black Bax Showing In Corner?
Feb 19, 2010My modal popup window is not hovering over the page.
Css:
[Code]....
ModalPopupExtender:
[Code]....
My modal popup window is not hovering over the page.
Css:
[Code]....
ModalPopupExtender:
[Code]....
I am tring to get modal popup when enter value in one text box then click the button modal popup will show , without entering the value in textbox, button validation to enter the value. I written javascript validation to the button ,it showing alert message, but after showing alert message clicking ok button in alert window modalpopup is showing . How can i resolve it .
<asp:TextBox ID="TextBox1" runat="server" />
<asp:Button ID="Button1" runat="server" Text="Show popup" />
Here java script validation :
function Validate() {
if (document.getElementById("<%=TextBox1.ClientID%>").value == "") {
alert("Please Enter any Value ");
document.getElementById("<%=TextBox1.ClientID%>").focus();
return false;
}
}
On a page I have a gridview with a rowcommand for opening a ModalPopup:
[Code]....
The first time I click on any row's rowcommand the popup shows. And then I click Cancel on the popup and it closes (code behind: mpe.Hide();). But the, if I click on any rowcommand again nothing happens - the popup wont show anymore...
I have a button (btnsave) and its click i am showing the modal popup.
I am also having a javscript function which shows a confirmation alert on the btnSave's clientclick.
Now 'ok , cancel' click of the confirmation my modal popup is showing
I want the modal popup to be shown only if the user clicks 'Ok' in confirmation alert otherwise i don't want the modal popup
In my web application, i have declared modalpopup extender and corresponding div(popup control) inside master page to make it generic. In my page i am using updatepanel with a button inside it. Clicking on this button will fire the modalpopup extender. Before calling show() of modalpopup i am setting some text to a label inside the popup control. But when the popup comes, the updated text is not showing.
View 3 Repliesremove the black ugly shadow from modalpopupextender?
View 2 RepliesI use a LineChart control in asp.net and C# but I have a problem because my linechart in my page is black..
This is a screenshot (i did Ctrl + A to show you there are data on this chart) ....
notice that the FadeOut in updatepanelanimationextender gives opacity that produces a 'transparent' white on the gridview
[code]...
what trying to achieve is to make a black fadeout opacity 0.5 cover the whole gridview OnUpdating.
I have a datalist which contains only the image button.I want to add rouned corner to this image.So i have used rounded corner extender for image button.But still no rounded corner,but there was no bug.
View 5 RepliesI have created the user control and i am showing it dynamically on the page load event. There will be about 10-15 instance of that user control.
How can i use the ajax rounded control with all the instances of the user control?
In the user control, there is one Div and inside the div there is one place holder which has got few text boxes and label controls.
I'm developing an ASP.NET application with C# and Visual Studio 2008 SP1. I'm using WebForms.
I have an ASPX page with two UpdatePanels, one on the left that holds a TreeView and other on the right where I load dynamically user controls.
On the left panel I also have buttons to load user controls on the right. I have a ModalPopupExtender in a button that show I div with radiobuttons to select a type. When I choose an option and click ok it do a postback to load dynamically a user control but instead of dissapear these modal panel it appers on the bottom left corner of the page.
What's happening? I think it is about dynamic load.
I have the modal popup come up for searching something. Inside the popup (panel) I have a txtbox and a search button. I enter text and hit 'search' and the results are shown in a listview within the popup. Now every row in the list view has a button "Select". I want to click on one of those buttons to select a particular value.
Now on click of the button(within the listview), I tried calling a javascript function and doing $find('mdlPopup').hide(); , which makes the popup dissappear. But somehow the debugger takes me straight to Global.asax.Application_Error() and doesn't even give me a stack trace to see wht the issue is. And over that, the popup looks dissapeared, but the rest of the controls on the page are not enabled back. Strange?
I'm assuming, that the popup doesn't close as intended and it errored out (which took me to Global.asax.Application_Error() ), and is not enabling the rest of the controls in the page.So my question is, how do I assign multiple buttons in a listview to the okbutton (or cancelbutton) of a modalpopup extender?
I am trying to use Rounded Corner buttons in my ASP.NET website using AjaxControlToolkit's RoundedCornerExtender. When I use this on a Buton control, I get an error saying "htmlfile: Unexpected call to method or property access" to which I can Break/continue.
When I run the sites, it gives me an error "Unexpected call to mathod or property access".Here's the screenshot:
http://img29.imageshack.us/img29/7051/roundedcornersp.png
I have a page.. which im trying to implement a gridview that allows you to select from it, it will open a modalpopup with a list of records linked to the selection.. now within that popup, you can pick a individual record so you can see full details..So my question is, can you have multiple modalpopup's open at the same time? If not then is there anyway to reopen the first popup with the list again so that you can pick another record
View 3 RepliesI have been trying over a week to make ModalPopup work. Still can't understand how to do it. Actually, I didn't find a way to use ANYTHING from the Ajax Control Toolkit.I want to put a ModalPopup with the Toolkit 4 in the Log In of this file:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="WebApplication1.SiteMaster" %>
i want to know what is the use RepositionMode property of the modal popup control extender of ajax toolkit control,i know it is enum type what is i want is primary purpus .
View 2 RepliesI'm trying to use ModalPopup Extender but I can't make it to be a true modal control. In my app I'm using asp menu and the menu is always enabeld and active when the ModalPopup is activated. Other controls on the page seem to be disabled (i.e. as expected).
View 2 RepliesWhen I place ASP:RequiredFieldValidator on my ModalPopUp's panel, then why panel is not seen to me.
If I remove Validator on my ModalPopUp's panel then it works alright.
Why?
How to get worked Validators on ModalPopUp?
i have used modalpopupextender in my project .. in that i have dropdownlist .problem is that when i want to select any item from the list by arrow keys the control goes from modalpopup to vertical scrollbar of the main screen and whole screen get scrolling when i use up and down arrow key...
i don't want it , i want when i use up and down arrow key the control should be on the modalpopup..
I have wizard control inside a Modal Popup initiated on a button click.The trouble is the next/previous buttons close the popup.Is there any way to prevent this from happening?Code below.
[Code]....
It works fine with FF where one cannot click any other place except the popup. However, in IE8, the window behind the popup is clickable and selectable as if the popup did not exist.
View 2 RepliesI got a Default.aspx which uses a Master.Page.
I added in the Default.aspx a Panel which I would like to be popup by clicking on LinkButton
I added the ModalPopup Extender,
set the TargetControlID="LinkButton1" PopupControlID="Panel1"and it didnt opened,
what I do wrong?
[Code]....
I have a modalPopup that I am using for the end user to add some information. One of the items that I need added is a Date. I am trying to use the Calendar from the ToolKit, but not having any luck. It appears that when I activate the modalPopup, the Calendar pop up also activates. Therefore, the Image that I have for the calendar is not working, the calendar is automatically displayed, and when I click a date, the modalPopup closes not just the calendar.
View 1 RepliesI have a simple example of a ModalPopup with a panel that appears in the center of the ModalPopup and a couple of buttons in that panel. One of the buttons is a cancel and the other is an OK button. No matter how many other buttons that I add each one closes the ModalPopup. I need to keep the ModalPopup open so that I can run a few calculations then click a close button.
View 5 Replieshow to Show modalpopup from codebehind
[Code]....