Get A Blank Page Appearing With No Content Using Chrome, Safari

Jul 5, 2010

I'm having problems using an IHttpHandler on PDF files.

I'm redirecting "*.pdf" in <httpHandlers> of web.config to a IHttpHandler class that blocks access unless the user is authenticated.

Code:

<add verb="*" path="*.pdf" type="Handler.Class, Handler.Dll.Name" />

I have no problems accessing any PDF file from firefox while authenticated, but when accessing using any other browser (chrome/safari/opera) I only get a blank page appearing with no content. Accessing the PDF files from other computers gets the same result (blank page) including firefox on other computers.

Contents of the IHttpHandler:

C# Code:

[code]....

View 30 Replies


Similar Messages:

AJAX :: Page Content Not Displayed By Safari But Does With Chrome

Mar 27, 2010

The strangest thing: Safari 4 will show me the HTML in View Source but it will not render the content in the page. Chrome 5 which is supposed to be the same WebKit parser renders the page as expected. Where could I possibly start to debug this?

View 1 Replies

Web Forms :: Panel ScrollBars Not Appearing In Chrome Browser When Content Overflow

May 19, 2012

 <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="Button3" BehaviorID="popup1" PopupControlID="Panel2" BackgroundCssClass="modalBackground" OkControlID="cmdclose" />
<asp:Panel ID="panel2" BackColor="Silver" BorderStyle="Solid" BorderWidth="4"  BorderColor="ActiveBorder" Width="775px" Height="550px" runat="server"><grid>   </asp:Panel> 

I have the above. It works fine in IE & FF  but in chrome 1) if more rows  grid appears out of panel without scroll bar (same works fine in IE & FF)2) when clicked any where the grid disappears or close but in IE & FF it closes only on cmdclose...

View 1 Replies

Web Forms :: Master Page Menu Appearing Behind Content Page?

Feb 22, 2010

but I've tried everything I could think of and am at the end of my rope. I've got a page (faithfamilychurch.com/v2aspx/Default.aspx) that I am trying to get the flyout menu and flyout quicklinks at the top to come out over the contentPage content. I've set the z-index of each to much higher values than the content page, but still nothing. I've tried the tactic of changing the contentPage z-index to -1, but there is some master page content that needs to appear behind the contentPlaceHolder. Code below.

Master Page:

[Code]....

Content Page:

[Code]....

CSS:

[Code]....

View 2 Replies

AJAX :: Popupextender In Tab Control - Content Visible On Page Load In IE8 / Safari / Firefox

Feb 10, 2011

I am embedding a popup extender inside a tab...simple enough - for some reason the content is visible when the page loads - it can be dismissed by selecting the button and then dismissing the popup. Everything works in compatability mode.

I can't tag the panel as visible=false as it is no longer rendered at all.

[Code]....

View 2 Replies

CSS Not Loading In Chrome And Safari But Works In Firefox And IE

Feb 21, 2011

I am giving external css path in aspx page via

<link rel="stylesheet" media="all" href="file:///D:/CSS/Style.css" type="text/css" />

its works fine in firefox and ie while access that page.

but when i open this page in chrome or safari.

it does'nt do anything and no css is applying.

View 3 Replies

AJAX :: CalendarExtender Position In Chrome And Safari 4?

Feb 7, 2010

I am using the CalendarExtender and I've found it works fine in all browsers except for any version of Google Chrome and Safari 4.

In these browsers the calendar appears either on top of the textbox or near the top of the screen instead of under the textbox.

You can reproduce this behavior by going to: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx

View 2 Replies

MVC FileResult With Specific Filename And Safari Or Chrome?

Nov 11, 2010

I'm having problems with FileResult returning a file with a specific filename. In the database the filename is just and ID + extension (e.g: 456789.mp3)

This piece of code

FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);
return File(fs, "application/octet-stream", "myfile.mp3");

Work well in every browser except Webkit browsers (Chrome, Safari). Chrome and Safari receive files as original filename (456789.mp3). When I add headers with

Response.AppendHeader("Content-Disposition", "attachment;filename=myfile.mp3");

Safari receives the file as myfile.mp3attach (notice "attach" appended to the extension?), however Chrome receives this file as myfile.mp3,attach (it appends ",attach" to the extension)

View 3 Replies

Javascript Or CSS Hover Not Working In Safari And Chrome

May 10, 2010

I have a problem with a script for a image gallery. The problem seems to only occur on Safari and Chrome, but if I refresh the page I get it to work correctly - weird!

Correct function:The gallery has a top bar, which if you hover over it, it will display a caption. Below sits the main image. At the bottom there is another bar that is a reversal of the top bar. When you hover over it, it will display thumbnails of the gallery.

The problem:In Safari and Chrome, the thumbnail holder will not display. In fact, it doesn't even show it as an active item (or a rollover). But oddly enough, if you manually refresh the page it begins to work correctly for the rest of the time you view the page. Once you have left the page and return the same error occurs again and you have to go through the same process.

Here's one of the pages to look at:
link text

Here's the CSS:

#ThumbsGutter {
background: url(../Images/1x1.gif);
background: url(/Images/1x1.gif);[code]....

View 1 Replies

C# - Paste Functionality In Google Chrome And Safari

Mar 19, 2011

I am unable to paste the content to a textbox whose property "Textmode"is multiline this issue is happening in google chrome and safari browsers

View 1 Replies

AJAX :: Get The MaskedEditExtender To Work With Safari Or Chrome?

Dec 4, 2010

Is there anyway to get the MaskedEditExtender to work with Safari or Chrome? Any kind of hack or workaround?

View 4 Replies

C# - UpdateProgress Control Remains Visible On Safari And Chrome?

Jan 18, 2010

I am using the ASP.NET Ajax controls UpdatePanel and UpdateProgress. The idea of a the UpdateProgress control is to display a message while the page is performing a partial postback, then disappear when the postback completes. On Firefox and Internet Explorer, this happens correctly. However, on Safari and Chrome the UpdateProgress control remains visible after the postback completes. Is this a bug in the ASP.NET Ajax Framework, or is there another workaround?

View 1 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

Javascript - Chrome/Safari Not Calling Unload In Some Cases?

Feb 26, 2011

Have been stuck with this issue for a few days now, and really need, and would appreciate some help. My requirement is that I want to make a server side callback to clear off some objects when the user navigates away from our page, without clicking logout. For business reasons, our ASP.NET session timeout has to be set to a very high value. Further, I do not want to popup a alert/dialog to force the user to return to the page and click Logoff.The solution I have arrived at thus far is to make a AJAX callback by embedding this javascript in the page.

window.onunload = pageleave;
function pageleave() {
alert('test');

[code]...

View 1 Replies

Web Forms :: Listbox Rows/selectionmode In Safari/chrome?

Dec 22, 2010

trying to support my listbox control in safari/chrome as it works in ie. there are instances when i want the control to be 1 row high, but i do not want it to render like a dropdownlist. so, i set .SelectionMode = ListSelectionMode.Multiple. This works in IE...I have a 1 row high listbox that does not render like a dropdownlist. Is it possible to render the same thing in safari or chrome? currently, if i set .Rows = 1, it renders 3 high in safari/chrome. if i don't set .SelectionMode = ListSelectionMode.Multiple then i see a dropdownlist.

View 4 Replies

Clickable Areas Are Very Small On Firefox Safari Chrome?

Jun 6, 2012

Tab buttons and links are little hard to click on  Firefox, Safari, Chrome. hover areas are as small as clickable area,They work perfecly well on IE

I have link for LOG IN normally(on IE) hover works and pointer changes to hand when mouse gets appoximitly one pixel range and it is clickable.

But in other browsers event  LOG IN--- link works only when mause gets halfway over text(you can take dashes as referance upper part of the dash works good but buttom part is not  clickable )

View 1 Replies

Web Forms :: How To Disable Print Screen In Chrome,FF,Opera,Safari

Jan 18, 2011

[Code]....

Now i need to disable for Other Browser also ...

View 9 Replies

MVC Ajax.ActionLink Example Doesn't Work In IE... But Does In Firefox, Chrome, Safari

Feb 14, 2010

I have the following controller:

using System;
using System.Collections.Generic;
using System.Linq; [code]....

When I click the action link in IE the controller code runs but the div is NOT updated. Do it in ANY other browser and it works just fine. Is this (yet another) known problem/bug with IE??

View 2 Replies

Visual Studio :: How To Test Web Application In Firefox/chrome/safari

Mar 13, 2011

I have created website in visual web developer 2010 express and would like to test it in firefox/chrome/safari. How to launch firefox/chrome/safari in visual web developer 2010 express?

View 1 Replies

AJAX :: Drag And Drop Is Not Working In Chrome And Safari Browser

Nov 17, 2010

I am using AjaxContrToolKit (AjaxControlToolkit.Compat.DragDrop.DragDropScripts.js) in my application to provide the drag and drop facility . After implementing the same in the application , observed that working fine in IE and Firefox browser . But the same is not working in Safari and WebKit (Chrome and Safari) browser . In these browsers(both Safari and Webkit), while clicking on the top of the panel getting scrolled up .

View 1 Replies

Default Control Adapter Mappings Work On Chrome Or Safari?

May 22, 2010

I have confirmed that my Control Adapters are not triggering in Chrome and Safari. I've debugged, and the breakpoints inside the adapters just don't get hit in Chrome/Safari, when they work perfectly find in Firefox/IE. So, for Chrome/Safari, IIS is just ignoring the mapping.

My AdapterMappings.browser file looks like this:

<browsers>
<browser refID="Default">
<controlAdapters>
[...adapters here....]
</controlAdapters>
</browser>
</browsers>

This should provide mappings for all browsers, correct?

I used the Charles proxy to check what user agents were being sent. They are:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

Any idea why this would be? Everything I've read tells me that my browser mappings are correct? And, as I said this works for IE/Firefox, so I know my configuration is technically correct.

View 1 Replies

Forms Data Controls :: GridView Edit Does Not Work On Chrome Or Safari

Apr 6, 2010

I have the following code and when I click on "Edit" using Chrome or Safari, nothing happens.

[Code]....

I tried to remove my AJAX Updatepanel and the gridview worked.

View 2 Replies

Visual Studio :: Cookies Deleted After Browsing With Safari/chrome/firefox

Mar 18, 2011

I find that each time I run asp.net application in browser other than ie (safari/chrome/firefox) within visual studio, will cause all cookies on my pc deleted. This is really inconvienient since cookies contain important info on my pc. I'd like to know the solution for it.

View 5 Replies

Launch An External Application From The Browsers (IE, Firefox, Chrome, Safari) In Windows?

Jun 19, 2010

Is it possible to embed an external application inside the browser (IE, Chrome, Safari, Firefox) so it will look like a native web application but actually having access to the USB ports of the client machine? I have heard that I need to make an ActiveX control. I would like to use the .Net framework, but if that is not possible, maybe using Java or C++ will be fine.

I have to make an application that will allow to the users to connect an external device to an USB port, this device will take a backup of the information contained in a SIM card and send it to the user's account online agenda. So the user can restore it later using the same application. This should be a web application or at least look like one.

If the first is not possible. Is there any way to launch an external application from all the browsers, and then pass information to the browser window to allow it to refresh after the backup has been made?

View 1 Replies

Web Forms :: WebPartZone - Refresh, Minimize And Close Are Not Working In Chrome & Safari

Dec 20, 2010

We are using Web Part Zones to display certain Charts in our website. In the title of the Zone, we are using the below code to display the menu for Minimize, Refresh and Close buttons.

<CloseVerb ImageUrl="~/Images/Close.png" />
<MenuVerbStyle BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="White" />
<TitleBarVerbStyle CssClass="WPVerbBar" />[code]....

This buttons are working fine in IE and in Firefox. But the same is not working in Chorme and in Safari.We got the below script error in Chrome:

Uncaught TypeError: Object #<an HTMLElement> has no method 'attachEvent'

ScriptResource.axd?d=JgYxHqt6li1Lc12at8VRK-y-qeXK_5Wiei-tKNUi8rRE-1X5EEl-KvYEuW4m8Foj1VyIiaN7sK98_-pMwa5y7w2&t=633802855995006876:277Uncaught TypeError: Object #<an HTMLElement> has no method 'attachEvent'

View 1 Replies







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