I am trying to get a modal popup inside a modal popup?, also i want to fire the modal popup on a condition in a text change event of a textbox?...is this possible and can anyone give me directon on this
I have ajax accordion with 6 panes with an user control inside each of it. In the first pane I have a form view user control and have a modalpopup to display error message. The same method is used in all other panes.
On page load I was able to set the label text property and it properly shows in modal popup.
However whenever I do some validation and update label text property, the modal popup shows up but the label text property is not updated. It works in all other panes.
The only difference is the user control in the pane is inside of a update panel. If I remove the update panel every thing works fine. But I need the update panel to avoid full post back.
How do I set the label text property inside of a modal popup.
I have a problem with a Model Popup Extender that monitoring a background thread.
I need to give feedback to the user about tasks that happend in the server side.
So searching on internet this give me a solution [URL]
Launch a thread, passing the Session variable, update a flag and a mesage and show the info in the web with a timer.
almost all, is fine, in one server (sadly, close to production) after the task (and thread) is completed, the Session variable is set to null and the user is redirected to a "Session Expired" Page.
[code].....
I noticed that this is a very slow server and some websites are very slow.
Session is managed with cookies and the timeout is set to 30 min.
I seem to be having trouble getting the btOK button (in the Modal Popup Extender panel) to trigger the btOK_Click subroutine in the code-behind for the page.
ASP
[Code]....
VB.NET
[Code]....
I have the OnOKScript set to the name of the subroutine, and have tried setting the value to "btOK_Click", "btOK_Click;" and "btOK_Click(this);" but none have worked. In a previous page I have used this to call a JavaScript function, but surely I can call the VB.NET code from here too?
I have an Ajax ModalPopupExtender on a page. To summarise. I have a link on a page, when I click the link the modal popup displays. On this modalpopup I've a textbox and an 'ok' and 'cancel' button. I wish to find out what was entered in the textbox when the button is clicked I try this but the value of ((TextBox)button1.Page.FindControl("theTitle")) is null.
if (((TextBox)button1.Page.FindControl("theTitle")).Text == "") void okButton_Click(object sender, EventArgs e) { try { //if i try this tt does not compile//The name 'theTitle' does not exist in the current context//if(theTitle.Text == "")//{//} Button button1 = (Button)sender; //TextBox theTitle = ((ImageButton)(e.Item.FindControl("theTitle"))); if (((TextBox)button1.Page.FindControl("theTitle")).Text == "") { } else { } } catch (Exception) { } }
I have a panel with a textbox on it. In the GridView I have a button in a template. I can send the row data from the button's OnClick to the text box easily enough.
[Code]....
Protected Sub GoToPreviewPage(ByVal sender As Object, ByVal e As EventArgs) Dim row As GridViewRow = DirectCast(TryCast(sender, Control).NamingContainer, GridViewRow) Dim myRowIndex As Integer = row.RowIndex Textbox2.Text = Gridview1.Rows(myRowIndex).Cells(1).TextEnd Sub
When I added the ModalPopupExtender to the button and pointed it to the panel, now the button's OnClick event and OnClientClick and CommandName no longer fire. The Popup works fine, I'd just like to be able to pass the RowID to it.
In the problem code, there is a modal popup that is shown using .Show, and that part works fine. A textbox in the popup needs to display text, but I can't get that part to work.
I have user control withUpdate panel (updatemode=conditional), textbox, button and gridview with paging. All these controls are in panel and displayed using Modal Popup Extender. I have strange behavior where comma appears on the text box each time I click pagination or button that causes page post back a comman is appended to the text box. Comma is appended in a incremental mode that is no. of commas is equal to the no. of times panel posts back.
I have three modal popup and three link buttons the first link button is on menu i.e. login that shows login-popup and the login popup contains two links forgot password and register both of them opens a popup but the problem is the login popup isnt hiding with click on register or foreget link the popups are appearing perfectly but arent hiding.
I also used breakpoints on link click event and are not going to code behind file on click and popup is just shown without hiding the other. And the css used is I found on aspsnippet site!
Modal Popup user control (its a message box) on top of a modal popup with javascript that maintains postback on a scrollable div all inside of an update panel causes my page to flash on postback of the user control. If any one of the peices (user control, modal popup, javascript) are missing everything works fine. The javascript is maintaing scrollback on a scrollable listview on the page. A modalpopup is shown on top of this main page that is for report parameters. The user control is used for validation and is displayed if a parameter is invalid. I know this may not be the best design, but it can't really change unless its a minor change. Heres the js if anyone wants to see popup or styles let me know.
//Begin methods to maintain or reset scroll position during postback. var controlIds = []; var scrollTops = []; //Register a control to maintain its scroll position on postbacks. function MaintainPostback(controlId) { controlIds.push(controlId); } //Find the div/control id in the controlIds array and set its scroll position to 0. function ResetControlScrollTop(controlId) { var index = 0; while (index < controlIds.length) { if (controlId == controlIds[index]) { scrollTops[index] = 0; return; } index++; } }............
I'm using modal popup extender and panel with calendar in it. Click the "Next / Previous Month" closes the modal popup. How do I tell the modal popup to ignore click events in a calendar control inside the panel targeted for popup? I'm confused because when using extender before, you had to click OkButton or Cancel to close popup. I have update panel for reason. I just minimized the code for easy review.
any modal popup controls whereas I can interact with the controls, causing callbacks and asynchronous calls without losing the popup.
I tried with the modalpopupextender, but the popup will disappear with the call and re-rendering the popup like many people will cause massive flashes of the popup which i want to try and avoid.
I have one page with a panel that makes up my ModalPopup. On the ModalPopup there is an updatepanel with a textbox and a button in it. There is a textbox on the "parent" page and I want to click the button on the modalpopup and move the data from the popup textbox to the parent textbox. So far, no joy. I have a line in the code behind to move the data between textboxes and I have also tried javascript to do the same thing but I am not able to make this happen unless i click the button twice.
How can I get one modal popup to trigger a second modal? And in between each modal, I need to execute server code.
Page load, check if question needs answering -> Modal 1 -> User answers -> run server code to check if question two needs answering -> Modal 2 -> show page.
I could do this using a series of asp:Views if there is not a clean way, the management just really likes the modals
I'm in a Unique position where I have to display one popup above another popup. Problem is that popup B's background does not show above popup A's content and as such you ae still able to click on buttons, ect. on popup A.
I tried to rather disable the Tab Control on popup A with javascript once popup B is displayed, but it only disables textboxes and labels and nothing else.
getting popup B's background to display above popup A or help with disabling all controls (Contained in Tab Control) on popup A?
When using a modal popup extender along with an embedded video, the popup is hidden behind the video in IE but works as expected in FF.I've tried manually setting the z-index of the popup to a huge number and the z-index of the video object to 1 but this makes no difference. I've put the code for a sample page below.
In my application I have a formview which is inside of a Ajax modal popup.Once users enter the information in the formview and click save, I validation the input.errors, I want to display an error message as a popup or as a modal popup (not javascript alert) with in the ajax modal.How do I do that. I tried several ways but it closes the ajax modal popup.
I have a page with a user control which gets some data updated via a modal popup. Upon clicking "ok" on the modal popup - the new data is being written to the database - but the base page doesnt "reload" to show the updated data. How do I get that to happen?