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.
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'
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.
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.
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?
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 .
I followed the above tutorial creating 2 WebPartZones, and 2 web server controls onto the WebPartZones.There is an arrow icon in the top-right corner of the web server control on each WebPartsZone. Clicking on the arrow revealed 2 links: Minimize and Close.I clicked the Close link of the Web server control, a UserControl, on the second WebPartZone. The WebPartZone2 and User Control then were removed from the web page. When I opened the web site gain later, I still can not see the User Control and WebPartZone2.How can I restore the WebPartZone2 and User Control?
I have a gridview within an updatepanel which allows paging and has a linkbutton that when clicked shows a modalpopup for editing records. This works fine in IE, Firefox, and Opera but I do not get a postback in Chrome or Safari?? I have other linkbuttons on the page that are within updatepanels but are not within gridviews that are working fine. I have scowered the web but cannot find a solution.
I am in a deep deep trouble because I am trying to use web parts in my project,I have implemnented custom provider for personalization(coz, I am using MYSql as a database).I am using three web part zones and each zone hve more than three controls and whenever I try to drag and drop the parts from one zone to other zone, for the first time the droped element successfuly runs but after then if we again try to drop another element from other zone to this then the already dropped element goes to its original place from where it is dropped,The 2nd problem is that close and minimize verbs are not firing well, e.g if there,My provider personlaization class is as,
I have created one sample application for WebParts. It is working fine when I run it from Visual Studio or local environment.
But when, I have publish file in IIS virtual directory (in my PC or same PC) at that time it is stop showing Verb tool bar (minimize, close buttons of WebPart).
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.
I've defined node styles for my TreeView instance in markup (using <LevelStyles> for example). Everything renders correctly in IE7/8 but, when rendering in Chrome, Safari or FireFox, the styles are not being applied. From looking at the source code for the page, I can see that the various runtime css classes are being injected into the top of the page, but the class attributes on the <a> tags (within the generated TreeView HTML) are empty (class=""). In IE, the class attributes contain references to the classes that were injected into the page.
Can anyone explain why this is happening? I can see no logical explanation for this, and it's a big issue - My client primarily uses Safari, as they're Mac based.
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)
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
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)
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.
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?
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?