Popup Window Is Not Working In Firefox And Google Chrome?

Jan 27, 2010

I want to open a popupwindow (with close button only) when the user clicks a button and the parent window should be disabled until the popup window closed. For that I'm using the following code

function popup_window(url) {
popupwin = window.showModalDialog(url,null,'height=20,width=150,status=no,resizable=no,scrollbars=no,toolbar=no,location=no,menubar=no');
}

Anyhow, this code is working perfectly in IE. But, I hav two problems. In firefox, it is not opening with the size I've mentioned in the script. It is opening in full size. And In Google Chrome, parent window is not getting disabled.

View 1 Replies


Similar Messages:

Calling And Open Popup Window Simultaneously On Google Chrome?

Mar 11, 2011

As the part of C#.net project I have to call one function and after that open a pop up window from a button click. In Internet Explorer I can done this successfully but the same code not working on Google Chrome. The code is adding below.

protected void btnaddtogroup_Click(object sender, EventArgse)
{
fetchaddressid();
string strScript = "<script language=javascript>OpenPopup();</script>";
Page.RegisterStartupScript("callTest", strScript);
}

View 3 Replies

Web Forms :: Date Control Is Not Working In Mozilla Firefox And Google Chrome?

Mar 28, 2011

I am using javascript based calendar control in my application.

Following is my .aspx and .aspx.cs file.:

.aspx file:

[Code]....

.aspx.cs:

[Code]....

On click of hyperlink we are opening javascript calendar and assiging it to textbox.

The same functionality is working in IE, but its not working in Mozilla firefox and Google chrome.

This is one of the major problem i am facing in entire application.

I want to make my application to be work fine on multiple browser.

View 1 Replies

Activex Control To Work In FireFox And Google Chrome?

Feb 11, 2010

I developed a activex control, it can work well in IE, but not in firefox , is it possible for my activex control to work in FireFox and Google Chrome?

View 1 Replies

Social Networking :: Images Not Showing In Google Chrome Or Mozilla FireFox

Apr 27, 2016

 I am having an issue with images not showing in Chrome or FireFox. In chrome i get this message in the Console "Not allowed to load local resource.". The images appear fine and correct in IE11 & MS Edge. I'm assuming this is some king of security problem I need to address, but am not at all sure what.

I have posted the code behind and Mark Up below.

// Code Behind
string imgPath = Server.MapPath("/images/");
List<FileInfo> images = new List<FileInfo>();

[Code].....

View 1 Replies

AJAX :: Drag And Drop Is Not Working In Chrome And Safari But It Is Working Fine IE And Firefox

Nov 19, 2010

After the implementation of ajax drag and drop, we have observed that which is working fine in IE and Firefox and not in chrome and safari, In Google chrome and Safari when we try to drag a module, the page getting scrolling to the top of the page.

View 1 Replies

Social Networking :: Prevent TextBox Multiline Resize In Browsers Like Google Chrome And Mozilla Firefox

Jan 25, 2013

I have textbox in my page that I put this attribute for it TextMode="MultiLine"..here user can change width and hight of textbox with mouse..I couldn't find any attribute for textbox that din't allow users to change width and hight of textbox.

View 1 Replies

MVC :: Ajax.BeginForm Not Working In Firefox But Is Working In Chrome And IE

Feb 9, 2011

I have a problem with partial postback in FireFox

in my index.aspx I have following code:

[Code]....

Finally my Partialview has following content:

[Code]....

This code is working fine when using IE or Google Chrome, but when using FireFox the code in my controller is never reached.

View 1 Replies

ASP Session Not Working In IE8 - Working In Firefox - Chrome

Jan 27, 2010

I'm trying to get my site to play a flash video the first time, and only the first time, a user visits the site. Currently, I'm using ASP session tags to install a sessionid cookie into the users browsers.

<% Session("name")="blah"
Session.Timeout=7
%>

This method works fine in FF and Chrome, but IE8 doesn't seem to want to accept the cookie. I've tested it with IE's lowest security settings possible ("Accept all cookies"), but it still does not create any cookie. Is there any other way to make it so that all browsers will take the cookie?

View 1 Replies

AJAX :: CalendarExtender Popup Position In Google Chrome After Page Scrolled Down

Jan 26, 2010

I'm having a problem with the CalendarExtender's position in Google Chrome (4.0.249.78 (36714)) when a page is scrolled down such that the scrollbar position is > 0

For example, if you use Chrome to goto:

http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx

- Scroll down so that the "Calendar Demonstration" subheading is just below the top of the browser rendering area.

- Click the first TextBox labelled "Default Calendar"

- The CalendarExtender popup appears with it's top edge at the very top of the page instead of below the TextBox.

The same happens when you click on the 2nd TextBox or on the button trigger for the "Calendar with an associated button" example.

It seems that the "top" css value of the resuting popup div isn't being calculated with the scroll position taken into account. Running the same example in Firefox results in a "top" value of 391px, with the Chrome value being 273px.

View 1 Replies

Response.CacheControl Not Working In Firefox Or Chrome

Jan 15, 2010

i have this code in global.asax.vb, to disable the back button.

Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
Response.Buffer = True
Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0))
Response.Expires = -1
Response.CacheControl = "no-cache"
End Sub

this code works perfect in IE, but refuses to work in any other browser like firefox or chrome. what can i do to make it multi browser?

View 1 Replies

Response.BinaryWrite Not Working In Firefox And Chrome?

Dec 7, 2010

I have binary data - it is png picture.

I use Response.BinaryWrite to display this picture.

Unfortunately it works only in Internet Explorer. In Firefox and Chrome it shows long text of strange symbols.

What's wrong with BinaryWrite? How to solve this?

I may not say to asp:Image to show this picture, I may not indicate ImageURL, becouse there's no URL. This picture is response from webrequest. And webrequest may not be indicated in URL because I set some parameters not in QueryString but in post data.

View 2 Replies

AJAX :: PageLoad Not Working On Firefox, Chrome Or Safari?

Apr 3, 2010

I've had an issue with a javascript menu not working inside an Ajax update panel after the ajax postback. I was able to solve this in IE by calling the menu js function with a pageLoad() function which is automatically called by ajax. However I then discovered it doesn't work in any other browser.

Having search around I've only found two references to the issue; one where someone else has found the same thing and another where someone states that pageLoad isn't stable in other browsers.

Is there any way to solve this issue in browsers other than IE?

View 1 Replies

Cross Domain Call Not Working In FireFox And Chrome?

Nov 16, 2010

I am making a asynchronous request to different server for some data using jquery. It works fine in IE, but doesn't work in FireFox and Chrome, when it reaches the code where the request to other server is made, it freezes there and a blank page is shown. If I remove that piece of code, the ajax works fine.

Also, when I place a breakpoint at document.ready, the breakpoint is hit when debugging using IE, but it's not hit when debugging using FireFox.

Following is the JQuery I am using

jQuery(document).ready(function ($) {

$('.tabs a, .tabs span').livequery('click', function () {[code]....

View 1 Replies

FileUpload Not Working In Google Chrome?

Apr 23, 2010

ASP.Net FileUpload not working in google chrome.It shows validation error,even after choosing right file type.

Here is a code :

<asp:FileUpload ID="FU1" runat="server" />
<asp:RegularExpressionValidator
id="FileUpLoadValidator" runat="server"
ErrorMessage="Upload jpg and gif only."
ValidationExpression="^(([a-zA-Z]:)|(\{2}w+)$?)(\(w[w].*))(.jpg|.JPG|.gif|.GIF)$"
ControlToValidate="FU1">
</asp:RegularExpressionValidator>

View 1 Replies

AJAX :: HoverMenuExtender Not Working In Google Chrome?

Jul 13, 2010

I have a GridView in which I have item,Edit ,Footer and Empty Item Template , and also a hovermenuextender to show Edit/Delete link on row hover. when my page opens if it doesn't have any data it show empty row , when user enters data and click on Add button it save's the data and load the grid. All works fine in IE and firefox but not in google Chrome.

After saving data in chrome all links stop working , but when i reload the page it workes fine if i remove the hovermenuextender it works fine in chrome also, So i think hovermenuextender creating problem in chrome when it's added at runtime(if empty grid comes hovermenuextender will be added after data saved)

View 2 Replies

Web Forms :: SiteMapPath Not Working On Firefox / Chrome And Safari Works Fine On IE

Jun 6, 2012

SiteMap is not clickable on Firefox,Chrome and Safari But works perfecly fine on IE..Here is the code;

div.logintext {
position: relative;
top: 25%;
display: table-cell;
vertical-align: middle;
text-align: left;

[code]...

View 1 Replies

Web Forms :: Scrolling Of Page Using Up And Down Arrow Keys Is Not Working In Google Chrome

Jan 26, 2013

I have developed a website in asp.net,c#. Its  pages are not scrolling through arrow keys (Up/Down) in google chrome. They are working well in IE and firefix mozilla. I also have no problem in my admin control panel. Admin control pages are  scrolling through arrow keys in google chrome, IE and firefox mozilla. What i should do to scroll my website pages through arrows keys in google chrome.

View 1 Replies

Crystal Reports :: Toolbar Print Button Not Working In Google Chrome Browser

Mar 1, 2011

I am create crystol report in asp.net in visual studio 2010 but crystol report toolbar Print Button Not working in Google chrome brouser

View 2 Replies

JQuery :: Image Button Not Giving Postback In Google Chrome, Same Code Is Working Fine For IE8

Jul 6, 2010

Image button not giving postback in Google Crome, The same code is working fine for IE8 and Firefox 3.6.6

<asp:ImageButton ID="btnlogin" runat="server" ImageUrl="~/images/log.jpg"
onclick="btnlogin_Click" OnClientClick="return confirmAction(this)" />

View 4 Replies

AJAX :: Google Chart With Update Panel Not Working In Firefox But Fine In IE

Mar 17, 2011

I am new to this forums.I am using the Google Chart API to show the chart on the page on the drop down selection. This is working fine in IE but not in firefox 3.6 with update panel. When I remove the update panel then this is working fine in all browsers but if I use update panel on the page then chart is disappering after changing the selection of drop down. It seems that google chart is not compatible with update panel.

My code is something like this. Please suggest where I am doing wrong.

/******************* default.aspx *******************/
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="SAGAdriving_Default2" %>
<!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>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", { packages: ["corechart"] });
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Year');
data.addColumn('number', 'Sales');
data.addRows(4);
data.setValue(0, 0, '2004');
data.setValue(0, 1, 2);
data.setValue(1, 0, '2005');
data.setValue(1, 1, 1);
data.setValue(2, 0, '2006');
data.setValue(2, 1, 0);
data.setValue(3, 0, '2007');
data.setValue(3, 1, 10);
var chart = new google.visualization.ColumnChart(document.getElementById('chart_div'));
chart.draw(data, { width: 400, height: 240, title: 'Company Performance', hAxis: { title: 'Year', titleTextStyle: { color: 'red'} }, is3D: true });
}
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdateProgress ID="UpdateProgress1" runat="server">
<ProgressTemplate>
<div style="z-index: 2; vertical-align: middle; position: absolute; left: 450px;
top: 300px;">
<asp:Image ID="Image1" runat="server" ImageUrl="~/Images/ajax-loader.gif" />
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div>
<asp:DropDownList ID="ddlTime" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlTime_SelectedIndexChanged">
</asp:DropDownList>
<div id="chart_div">
</div>
</div>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ddlTime" EventName="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel>
</form>
</body>
</html>

/******************* default.aspx.cs *******************/

[Code]....


Note: when I remove update panel from the page then it works fine in both firefox and IE.

View 2 Replies

Web Forms :: Website Built In Visual Web Developer 2008 Express - Menus Not Working In IE 8 Or Google Chrome

Jul 9, 2010

I am a complete novice at this stuff, but i have been asked to investigate why the menus on our web site might not be working properly when vied in IE8 or Google Chrome. The site was built in Visual Web Developer 2008 Express edition, could this be the problem? If so is there a way around it without having to upgrade to VWD 2010?

View 2 Replies

AJAX :: .net MVC Ajax.BeginForm Not Working In Firefox But Working In Chrome And IE

Feb 11, 2011

I have a problem with partial postback in FireFox in my index.aspx I have following code:

[Code]....

Finally my Partialview has following content:

[Code]....

This code is working fine when using IE or Google Chrome, but when using FireFox the code in my controller is never reached. I just can't figure out what I am missing

View 1 Replies

Web Forms :: Browser Popup Window Maximize Button Is In Enable State In Chrome Browser

Dec 14, 2012

I used javascript code to open popup window.Popup window "Maximize" button is in 

disable state.But in Chrome it is in enable state.I want to make browser maximize button disable.

Below is my javascript code

function Call_PopUp(event, URL) {
window.open(URL, 'CustomPopUp', 'width=990, height=540, menubar=no,scrollbars =yes, resizable=no, top=50,left=50,toolbar=no,dialog=yes,minimizable=yes,maximizable=no');
}

View 1 Replies

AJAX :: Modal Popup Vertical Scrollbar Not Working In Firefox (OK In IE)?

Oct 24, 2010

I am having a problem with a modal popup that has a vertical scroll bar. In IE the vertical scroll bar works as it should. However in Firefox, if I try to click and drag the scroll box or "thumb" along the track the whole modal popup is draged accross the screen. The scroll buttons will advance the scroll, I just can't grab the tumb without dragging the whole screen.

The popup text is in a div with the following properties:

<div style="height: 465px; width: 742px; overflow-y: scroll; overflow-x: hidden; float: left;">

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved