I am working with .Net 2.0 using Visual Studio 2005 and the corresponding AjaxControlToolkit .
I have a master page with a ModalPopupExtender that appears some number of seconds before the browser session times out. Everything works perfect, except for one condition. One of the web pages has an iFrame used to display a PDF. If the user is on this page and the modal popup is displayed, the modal popup hides behind the iFrame and the user cannot see it.
I have other button BTNinsert that when I click on this button it insert data into database now problem is that when I click on BTNinsert it show popup for 1 second and after that insert data into database and if I refresh page it shows popup again for 1 second I want when I click on BTNinsert or refresh page it doesn't show popup just for a second...
I'm using what I believe is a pretty common/boring/generic implementation of a ModalPopupExtender. I'm using client-side JS to show the dialog when the user clicks a link, and hide it if they click "cancel". I only do a postback if they truly want to save the data.
I can click the link to show the dialog, then click the cancel button to hide it, then click the link to show it... ad infinitum. If I decide to save the data via a postback, everything works well, and the dialog is hidden as a result of the postback, all as expected.
However, once the postback completes, my client-side JS show() never works again. Any attempts to click the link fail quietly; no error messages, the dialog just never shows again.
I am developing a web portal under ASP.Net 4 and using Ajax and masterpage. I created a user control to select a data from a gridview and put it in a textbox, for that use the ModalPopupExtender control. Everything works fine as can be seen in this photo:
But after much control to use the ModalPopupExtender starts to appear behind the form and to return to appear before touching refresh the page or press the button repeatedly calling him. In the next picture you can see what it looks behind the popup form:
I have a simple question but I could not find the answer after hours of searching on the internet.How do I refer OkControlID and CancelControlID that is inside of my user control?For example, my user control is and input form with OK and Cancel buttons. How do I refer to it in the ModalPopupExtender?Here's my code:
I need to integrate bucks buttons modalpopuextender ajax controls, anyone know where i can locate this information , there are four, the former is entering the second search, the third change and remove the four, each with a modalpopup and when there will deve block is the parent page,
ctually the problem is that i have a login control in modalpopup. It works fine on entering correct user name and password. but the problem is that if the user name or password is wrong then it disappears. What i want at this point is that it should redirect to my custom error page on entering wrong credentials. have spend one complete week to solve this issue but is unable to solve it.
I have a modalpopupextender inside a custom user control and when the user clicks on a imagebutton in the custom user control, this modalpopup has to be displayed to the user for inputs. The problem that I am facing is that nothhing is getting displyed even after clicking the image button.
i am using master pages and this custom user control is being added dynamically to one of the child pages. I have added the scriptmanager as a part of the child page rather than as a part of the user control because there are multiple custom user controls present in this page.
Lemme go to the code:
This is the snippet present in the custom user control:
How do i post html markup? instead of it showing as the controls that dont show on MY PAGE! I took the code directly from the sample website, i am not useing a master page so made a few changes. I cant figure what i missed i am guessing something to do with the commonpage that the page inherits from in the sample site or the fact that it had a masterpage and i didnt clean it up enough
I've tried variations on CSS and layout (such as tables) but haven't been able to solve this problem. I've been able to recreate this with my simple example below on both Firefox 3.6 and IE7. When I load this page, the textbox blinks in for a second and when the slider appears the textbox will disappear. In the case of this example, the slider appears in the place where the textbox tried to load. In other examples I've created the textbox and slider load in different places but the textbox still disappears when the slider appears.
I realize this is an extremely simple example but I'm trying to narrow down the possible places for things to go wrong.
I need to select my field data using a 3 step drownlist process (shown in the following screenshot):
But I can't find a way to get the Model SelectedValue and SelectedItem when Select is clicked. After it's selected it has to be filled in the Autofield on the background, and when close is pressed the original value has to be reloaded.
I would really appreciate if someone can find out what's wrong with this code.
Here is my question. I have textboxes in a modal popup extender (City, state, zip) and there is an image button search for searching the address from the database. All this functionality is within a control (.ascx file). This control is added to the page where it needs to be displayed and is being displayed when a user click the Address button (the code for it is not shown here). The method ShowAddressSearch() in the control is being called from the page and it displays the popup.
When the user enters any of the 3 values and hits search a server event is fired up and the result should be displayed in a grid. What is happening is, when the user hits the search button the server call is made and the data fetched from the db but the modal popup closes itself here is the code for this. I would really appreciate if someone can find out where and how popup is getting closed.
Iam facing a problem in ModalPopupExtender, i have made a usercontrol to show a popup frame and made popheader for dragging the header. but iam unable to find the panel id for PopupDragHandleControlID. can anyone tell me how to do. user control