AJAX :: Prevent The Pop Up Window From Disappearing?
Oct 25, 2010
I have a GridView (insde a UpdatePanel with a Timer control) which is refreshed every 3 seconds and one of its fields (a TextBox) is "linked" to a HoverMenuExtender. It works great to display the Multline Textbox results but when the next refresh timer intervalcomes the TextBox control is re-populated with the new data and the user does not have the time to read its content.I am not sure if there is a way to maintain the content after each refresh (as long as I don't move the mouse of course).ere is part of my code:
[Code]....
View 6 Replies
Similar Messages:
May 6, 2010
I put loginView control inside ModalPopupExtender, the problem is: when I try to login with wrong user/password and press the login button, this button cause a postback and then the page reloads and ModalPopup dissapears, only when I press the button wich cause ModalPopup to show itself, I see the loginview control with the message "username or password is wrong"
What can I do to prevent ModalPopup from disappearing after wrong login?
View 3 Replies
Sep 6, 2010
I have a collapsible panel extender inside a modal window, my problem is that whenever I click on the link button (to expand my panel), the window closes.
Does anyone know of a way to avoid this?
View 1 Replies
Mar 17, 2010
I have a tabcontainer with three panels. Initially the second tab is not enabled. I have a button in the first panel which when clicked, enables the second tab and changes the focus to it via the code-behind (requires a post back but that is desirable, since I shall put business logic there).
Works perfectly well.. but if I repeatedly keep clicking the next and the disable buttons.. once in a while the entire page disappears.. i.e I get a blank browser screen (IE6 and Chrome) and in FF the second tab doesn't become disabled at all.
Code for the default.aspx
[Code]....
The Code Behind
[Code]....
View 1 Replies
Dec 15, 2010
My problem is am filling a form in a webpage, and click on save for instance, take the URL of mu webpage and paste it in a new window and it loads all the information I subscribed, how can I prevent that knowing that I used the Below code and it does nothing
I need to know how to add a randomly generated token as an additional parameter in my request.
[Code]....
[Code]....
View 12 Replies
Jan 25, 2011
How to prevent a user to open a new Tab or window, if the user already in session?
View 2 Replies
Mar 5, 2013
I have a problem with all multiple tab browsers due to session object. I have a requirement that whenever user opens a new browser I need to show different values, so I thought of using Session as in IE 6 every browser creates a new session. But all other multiple tab browsers IE 8 and FF shares the session(If user has already open the browser and try to open different browser). How can I create new session whenever user opens a new browser window. My application is basically in ASP.NET and server side we have C#.
View 1 Replies
Mar 10, 2010
I have a small tabcontainer at the footer of my page with a gridview in several tabs - this works fine. Customer has asked for a re-design and for the tabcontainer to cover the entire page. When I increase the size of the tabcontainer (say to 550px) the gridviews disappear!
Noticed a few things;
- If i move the gridview before or after the tab container it is displayed
- There is definatly data in the gridview
- Controls on another tab work fine (these are the ones that were previously covering the rest of the page)
View 1 Replies
Aug 31, 2010
I'm using the following span to open a page in a new window. What is INCREDIBLY odd is that it is exactly the same code from three different pages, but the first refuses to open in a new window. The only difference is that the first example resides within an Ajax Accordian Panel so I suspect that it might be an Ajax related issue.
[Code]....
View 2 Replies
Nov 26, 2010
how to freez parent window when opened pop up window!
View 3 Replies
Jul 14, 2010
I am trying to use wizard in an update panel but the wizard is disappearing when I click for the next or prev step button. I only want to close wizard , when I click the finish button. How can I do this ?
View 1 Replies
Oct 18, 2010
i have an aspx page in which a link in the grid view opens a popup page . the data in the grid view would be dynamic and i need to send the id of the row of grid while calling the child window. i get the id using sender.id, but how would i send this using window .open()?
View 2 Replies
Aug 15, 2011
Code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="GridViewDisappearing._Default" %>
<%@ Register Assembly="GridViewDisappearing" Namespace="GridViewDisappearing" TagPrefix="cc1" %>
<!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">
<title></title>
[code]...
The first time the page is requested, it displays the gridview with the data. But when I click on the button, the gridview disappears (and only the button shows up). When I comment out the code: int x = GridView1.Rows.Count; in the Page_Init(), the gridview does NOT disappear. Why is that one line of code causing it to disappear?
View 2 Replies
Jan 23, 2010
In our site we are having a peculiar problem with SSL green bar. When we load the page SSL Green bar is showing up in the URL as usual but it diseappears after one second. I checked the view source and all the images are pointing to https only. I could't understand exactly what is causing the disappearing of Green SSL bar from the URL. Is there any thing that I need to check?
View 2 Replies
Jun 1, 2010
I am developing a C# VS2008/SQL Server 2005 Express website application. I'm a newbie to ASP.NET. I am using one of the database files in my App_Data folder. Also, I am trying to implement Security into this solution.
Everything works fine until I click on the Submit button. I traced through the code but didn't see why my Hashtable was changing to null.
Possible causes I've thought of:
currently some of my methods are protected, some are privateI have no Page_Load method defined in the DataMatch.aspx.cs file. Instead I have a Page_Init method. I have included most of this DataMatch.aspx.cs file--hopefully this will give you enough info.
ddl_ht is the hash table that is getting set to null after it enters the btnSubmit_Click method.
I am also including my DataMatch.aspx code now also.
DataMatch.aspx.cs file:
public partial class DataMatch : System.Web.UI.Page
{
string targettable = "";
DropDownList ddl = new DropDownList();
[Code].....
View 9 Replies
Sep 17, 2010
I have a .Net 3.5 website which uses windows authentication and expires the session using a meta tag on the prerender of my base masterpage class.
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
if (Response.ContentType == "text/html")
this.Page.Header.Controls.Add(new LiteralControl(
String.Format("<meta http-equiv='refresh' content='{0};url={1}'>",
SessionLengthMinutes * 60, SessionExpireDestinationUrl)));
}
This works well for pages that do full post backs. However there are a few pages in my application where the user does a lot of work that is inside of an update panel. My company's policy is a timeout of 15 minutes. Which means, after 15 minutes of working inside of an update panel page, the user gets redirected to the application splash page.
Is there a way to reset or extend the meta tag on an async postback? Or perhaps a better way to accomplish this entirely?
View 3 Replies
Jul 22, 2010
I'm usually a LAMP developer, but some .NET work has arrived on my plate and I'm a bit stumped.
If I run the following code:
<% poundsign = "£" %>
<% Response.Write poundsign %>
<% Response.Write "£" %>
... nothing is displayed. However, outside of the <% %> tags (ie in the HTML) £ displays correctly.
I have no trouble displaying the usual alphanumerics, it's just the £ sign that is proving problematic. The underlying file is in Windows 1252 encoding, and I need to serve it as such. If I save the file as UTF-8, I get mojibake instead of a £.
what I can do to make this work, or any settings that might be preventing it from working (other than saving the file in a different format)?
View 4 Replies
Mar 3, 2010
I use shared hosting. I have set my page to be cached indefinitely. The page gets cached after the first request. However on the next day when I visit my site it is no longer in the cache and has to be regenerated.
What is happening? Is the hosting removing my pages from the cache? Or something else?
View 1 Replies
Jun 3, 2010
I am developing a C# VS2008/SQL Server 2005 Express website application. I'm a newbie to ASP.NET. I am using one of the database files in my App_Data folder. Also, I am trying to implement Security into this solution.
Everything works fine until I click on the Submit button. I traced through the code but didn't see why my Hashtable was changing to null.
Possible causes I've thought of:
* currently some of my methods are protected, some are private
* I have no Page_Load method defined in the DataMatch.aspx.cs file. Instead I have a Page_Init method.
I have included most of this DataMatch.aspx.cs file--hopefully this will give you enough info.
ddl_ht is the hash table that is getting set to null after it enters the btnSubmit_Click method.
I am also including my DataMatch.aspx code now also.
DataMatch.aspx.cs file:
public partial class DataMatch : System.Web.UI.Page
{
...
string targettable = "";
DropDownList ddl = new DropDownList();
// a Property that manages a counter stored in ViewState
protected int NumberOfControls
[Code]....
View 3 Replies
Jul 30, 2010
I found alot of thread about how to postback after close the modal popup.
But for me, the system has already did it for me.
How to prevent page from posting back?
here's my code
[Code]....
View 2 Replies
Feb 25, 2010
I have an Ajax form with a single input and a button. On submit, the form should only post the entered value to an action method. My form is correctly posting to the User controller's Log method but when done, the page redirects to /User/Log.
How can I avoid this?
[Code]....
View 1 Replies
Jan 18, 2011
I have a modal popup that i use to play a video, works great.. but once you close the popup if for any reason you hit the enter key or refresh the page at a later time, it causes the popup to open again. There are 3 buttons within the page that can call this popup, so where within my code behind would i add logic to prevent it from popping up unless you click one of those 3 buttons..
View 2 Replies
Aug 16, 2010
I have a page in which the user enters a password and verifies it. Below these controls is a link that will pull information and fill out other parts of the page.
No matter how I arrange the update panels, the password textboxes are cleared out. I don't want to use session, viewstate, or attributes as it is my understanding that will leave the password in the html of the page when rendered. I thought the whole idea of using update panels was so that one portion of a page could be updated without affecting another portion (for example clearing passwords).
View 2 Replies
Jun 4, 2010
I have a modal popup that comes and displays data. There is a requiredfieldvalidator and validationcalloutextender on each textfield control. I have a Submit Button (makes changes) and a Cancel Button (closes the modal). The problem is that validation is done on the cancel button. Even though the chancel will make no changes. This happens in all situations even when I'm not using the modal popup. How do I disable validation on certian onclicks???
View 1 Replies
Nov 30, 2010
I have an ajax accordion with 3 panes. In the first pane I have tree. When I click an item in the second pane, I want the first pane to stay where it was before I clicked the item. Is there a way to keep maintain the content in all panes that are not in use? This seems to work without any additional code. I had something else incorrect that was preventing from working.
View 1 Replies