JQuery :: Scripts In User Control Work Fine In Explorer But Not In Safari / Firefox

Oct 19, 2010

I've used some Jquery scripts for toggling image on a web user control, it work fine in explorer but got no signs of life in firefox!

Here the code for a test form in plain html (this works on every browser):

[Code]....

and in post-behind:

[Code]....

this is the toggle.js:

[Code]....

View 12 Replies


Similar Messages:

Web Forms :: TreeView Control Not Rendering Styles Correctly In Chrome, Firefox, Safari, But Fine In IE

Feb 15, 2010

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.

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

Javascript Error In Internet Explorer But Works Fine In Firefox?

Sep 1, 2010

i was working on one of the project as it is working fine in Firefox but it is giving the javascript exception in internet explorer.Errror: Error says "s" is undefined in the s.currencyCode="USD" line but "s" is defined in the external javascript file s_code.js

<script type="text/javascript" language="JavaScript" >
var s_account="mnsdev"
</script>
<script type="text/javascript" language="JavaScript" src="http://media.world.com/ads/usen/rpt/Omniture/s_code.js"></script>
<script type="text/javascript" language="JavaScript" >
s.currencyCode="USD"
[code]...

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

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

JQuery :: Toggling Of IFrames Works Fine In Firefox But Not In IE

Aug 16, 2010

I have different iFrames on my page and one of the iFrame has pdf plugin that shows the PDF document and i have another iFrame that pops up on delete button click and a function to toggle the iFrames. It works fine in Firefox but in IE my pop up iFrame is always behind the PDF. Any thought how can I set it right, there is some issue with the z-index of PDF, it is set to infinity something like that in IE !

View 3 Replies

Forms Data Controls :: Code Can Work With Internet Explorer But Not In Firefox

Oct 14, 2010

the below works in Internet Explorer but not firefox.

protected void Page_Load(object sender, EventArgs e)
this.GridView1.Attributes.Add("bordercolor", "c3cecc");

View 2 Replies

Web Forms :: Menu Control Not Working In Internet Explorer And Safari?

Mar 18, 2010

I have taken menu control to display pages on my project. it is working fine in mozilla bu not in safari and internet explorer.

In safari Even sub menu items are not coming. it is displaying like this.

T-Shirts Expand <b>T-Shirts</b> Caps Expand
<b>Caps</b> Bags Expand
<b>Bags</b> Neck
Ties Expand <b>Neck Ties</b> Gift
Items Expand <b>Gift Items</b> in Safari.

In Internet explorer sub menu items are not coming.

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

Web Forms :: Safari 4.0.5 File Upload Control Does Not Work On Server.?

May 28, 2010

I have a input html file upload control for uploading image.

its working fine in my localhost, but its not uploading image when i upload the site on server.

its only not working in safari 4.0.5

in rest browser its working so nice.

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

JQuery :: Datepicker Doesn't Work On Web User Control?

Feb 15, 2011

I have user control with one textbox on it and i want to apply datepicker to.

here is the code of mycontrol.ascx

[Code]....

If I click inside text box control the datepicker doesent shows.

If I use the same code for showing datepicker on webform it works. Why? Do I miss something or I need something to add on my control?

View 2 Replies

JQuery Menu Plugins Under MVC Only Work In Chrome Not In IE & FireFox

May 9, 2010

I was trying to prototype some jQuery-based menu into ASP.NET MVC. Just to name two examples here: [URL]Their demo page looks great, but when I integrate their sample code into MVC, the script no longer works in IE and FireFox, but it seems to work just fine under Google Chrome. Can someone kindly enough to point out what I missed? I will be honest here. I am still new to JavaScript. I have placed a copy of my VS2010 solution zip file @ [URL] Here is what I did. In the Site.Master, I have something like

<body>
<div class="page">{truncated...}</div>
<script src=[URL]" charset="utf-8"></script>
<asp:ContentPlaceHolder ID="ScriptContent" runat="server" />
</body>

And inside View file, I have the following

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="original">
{some demo block, copied from javascript demo}
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
<script type="text/javascript" src="<%= Url.Content("~/Scripts/jquery.columnview.js") %>" />
<script type="text/javascript">
$(document).ready(function () {
$('#original').columnview();
});
</script>
</asp:Content>

Compiled the code and ran it under IE. Ideally, it should work like the demo in [URL], but in reality, it only displays unordered list in plain view. (If you download the solution file and run it, you should be able to repro this as well). Next, tried with FireFox, not working either, same result as IE. Finally, when I try it under Google Chrome 4.1 (lastest version), and the script displays just fine.

View 2 Replies

AJAX Control Work Fine On Local Host But Not Working On Server?

Oct 11, 2010

I am Working on a asp.net web site. i am using visual studio.net 2008.

i use some ajax control. for my web site. i use update panel on my web pages.

when i run my web site on local host ajax control work fine but as i upload the site on server. these control are not working at all.

tell me what will i do in my web site to run the AJAX control on server side.

View 1 Replies

AJAX :: User Control With JQuery Doesn't Work Inside Update Panel?

Sep 21, 2010

I created a .NET user control to work as a DropdownCheckbox and added Jquery to give the sliding and hide effects. The code is as below:

[Code]....

This control works fine in a normal page, but once I put it inside an update panel it doesn't work. Is there a work around or simply I can't use JQuery inside update panel?

View 1 Replies

AJAX :: Showing Popup Control Via Javascript Doesn't Work On Explorer 7

Mar 19, 2010

I'm using the following function (found on this forum) to display a popup control from the server-side:

on the server:

ScriptManager.RegisterStartupScript(this, GetType(), "userInfoPopScript",
string.Format("showPopup('{0}', 2);", targetControlClientId)
, true);

on the client:

[code]....

this works great for explorer 8 , firefox, chrome but on explorer 7 my page just jumps to the left and doesn't show the popup at all.

If I remove the set__parentElementID call, then the popup is displayed but in the wrong position (of course).

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

Text Is Crashing When Viewed On A Mac Using Firefox And Safari?

Jul 5, 2010

The text on my website is skewed and different areas are running together when viewing my site on a Mac using either Firefox or Safari. Is there anything I can do about this?

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

Web Forms :: Firefox And Safari Doesn't Show Data

Feb 4, 2011

I am developing an asp.net website on my local box using VS2010 Ultimate edition. Suddently, when I made Firefox as my default browser, none of the data or control show up!! The same pages work when I use IE8 and Opera, but not with Firefox or Safari. Usually I keep changing the browsers, to make sure that the pages work in all the browsers. Strangely, when I click on the "Outline block level elements" on the Firefox, the controls and data show up, and are highlighted! Once, I unselect the option, they are gone again!

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

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

C# - Form Submit Not Working In Firefox But Works Fine In IE?

May 28, 2010

I want to submit my parent page when I click on submit button of the child page. In my child page I've written my code as

[code]....

it is working fine in IE but not working in Firefox. What could be the alternate method for this?

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







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