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


Similar Messages:

Web Forms :: Menu Control Appears Slightly Off In Chrome And Firefox?

Dec 4, 2010

The right sides of the dynamic menu items are being chopped off. Also, the entire menu is moved slightly to the left in both browsers. I have been searching for a solution but everything I find so far with Google talks about a problem with the menu not starting on the correct node but I am not having that issue.

View 2 Replies

Web Forms :: Menu Control - Small Hyperlink Area In Firefox And Chrome

Feb 16, 2010

I am having an issue with the hyperlinks that are created as part of a horizontal menu control. You have to position the cursor in a very narrow range near the very top of the menu option to find the hyperlink associated with that menu option. This is only the case with Firefox and Chrome. You can try it for yourself at [URL] Try clicking any one of the horizontal menu options ("Services" for example. You will see that it is very particular where it will allow you to click to activate the hyperlink. Markup:

[Code]....
Skin:

[Code]....
CSS:

[Code]....

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

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

AJAX :: Calendar Extender Inside An EditTemplate Of GridView Does Not Work In Chrome / Firefox?

Jun 23, 2010

I have a GridView that is inside a Web User Control, that is inside an ASPX Page, that is wrapped by the Master Page.

Inside a GridView, I have a template field with DateTime type that has a TextBox inside EditTemplate. I extended this TextBox with CalendarExtender and it works ok in Internet Explorer.

I also have a DetailsView control on the same WebControl that I use to Insert new enrty. InsertTemplate for this field is the same as in GridView (Textbox with Calendar extender).

The problem occures when i click on the Edit link (or try click on the link that displays DetailsView in Insert mode for adding new entry) in any other browser: Chrome, Firefox, Opera.

The problem itself is that the calendar extender does not get poped out. I have a UpdateProgress Control on an ASPX page, that thie control is loaded into, that shows loading image while page is being posted back asynchronously.

In internet explorer the loading image is shown for jst a moment and then dissapears. Calendar extenders works perfectly.

As for the other browsers, the loader does not dissapear and none of ths postback links are working, as if it was waiting for the previous postback event or something else to finish. Finally I have to reload the page to get to the inicial stage or click a direct URL link to get somewhere else.

View 1 Replies

MVC :: Ajax.beginform Using Multiple Submit Doesn't Work From Firefox / Opera / Chrome

Nov 11, 2010

this code does not work in any other browser other than Internet Explorer, I could tell that happens, I've seen that in MVC2 was a known bug, I thought I updated to MVC 3 this was corrected, but still the same.The problem itself is that it shows as null ActionResult and I have no idea how to detect, the code I use is:

<% using (Ajax.BeginForm("CmdApply", new AjaxOptions { HttpMethod = "Post", UpdateTargetId = "RenderPartialId", Confirm = "Seguro de continuar", OnComplete = "showCurrentPage", OnBegin = "ShowBeginSearch", OnSuccess = "CloseDialogSearch" }))
{%>
<input id="GoPageSubmit" type="submit" name="GoPageSubmit" value="<%=Resources.s2olMVC.Search_GoPageTitle %>" />
<input id="SubmitNext" type="submit" name="SubmitNext" value=">"/>
<input id="SubmitNextLast" type="submit" name="SubmitNextLast" value=">>" />
<%}
%>

In ActionResult, the two n submit it recognizes, as if none, shown in Null There is another way to implement this type of submit? In Internet Explorer everything works fine.

View 4 Replies

JQuery Datepicker Only Works In IE8 (no Firefox, No Chrome For Me)?

Jan 11, 2010

Ok so I'm not very familiar with Jquery as to know the possible cause of this, but I've been assigned to find out why the datepicker doesn't work porperly on a client's computer (it prints out the date without slashes like this: 24112008

So when I test the webform, I see it doesnt even pop up in Firefox (the client's browser too) nor chrome, only in IE8.

In the scriptManager we have:

<script src="http://www.website.com/Script/jquery.min.js" type="text/javascript"></script>
<script src="http://www.website.com/Script/jquery-ui.min.js" type="text/javascript"></script>
<script src="http://www.website.com/Script/jquery-ui-i18n.min.js" type="text/javascript"></script>

and in the webform:

$(function pageLoad(sender, args) {
// Datepicker
$.datepicker.setDefaults($.extend({ showMonthAfterYear: false }, $.datepicker.regional['']));
$(".dates").datepicker($.datepicker.regional['es']);
});

The textbox that uses it goes like this:

<asp:TextBox ID="txtFeNac" CssClass="dates" style="margin-left: 7px" runat="server" ></asp:TextBox>

View 2 Replies

ASP Menu ...Alignment For Child Items In Firefox Not Work?

Feb 24, 2011

I'm using ASP Menu .... It Works fine in IE ...but The Problem in Fire fox ... i put the asp menu inside Table Cell and I give Alignment Property for that cell to be right .....the Alignment for Childs in IE is Right Correct but in FireFox is Left :-( so how can I change the alignment for Childs to be Right and to work in Firefox

The ASP Menu Code in ASPX is :

[Code]....

View 2 Replies

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

AJAX :: JQuery Plugins Vanished After UpdatePanel PostBack

Apr 20, 2013

I have used jquery to design my control but when i place the controls in update panel then their design got disappeared i.e. the jquery got vanished. can u plz tell how can i resolve this issue.

I have to use update panel otherwise on selecting value from dropdown or checkbox then whole page get post back.

View 1 Replies

Jquery Validation Plugins In Conjunction With Server Side Fallbacks?

Jan 20, 2010

I like the look of some of the Jquery validation plugins as opposed to the ASP.NET validation controls.

However, one big benefit of the ASP.NET validators is they automatically work on the server side too. Hence saving time and saving validation getting missed when work is maintained.

I am wondering if anyone has come across any tool/plugin to assist in automated mapping of jquery client side validation to a server side fallback.

View 2 Replies

AJAX :: JQuery Plugins Not Working Inside Update Panel

Apr 24, 2014

I have a jquery asĀ 

<script type="text/javascript">
function usercellclick() {
$(document).ready(function () {
$("#<%=dgv_buslayout.ClientID%> tr:has(td)").hover(function (e) {
$(this).css("cursor", "pointer");

[code]....

it works only for first click.URL...

View 1 Replies

.net - Vb.net Code Works On IE But Not On Chrome Or Firefox?

Jan 15, 2010

I have .net code that works on IE8 but wont work on google chrome or firefox. i have put this code for the user to press Enter instead of clicking the mouse everytime.

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
If Not IsPostBack Then

[code]...

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

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

Html - .net Site Looks Completely Different On IE, Firefox, And Chrome?

Jun 14, 2010

I'm doing css for a website. I send the html and css to a guy, he puts it into ASP.net. The problem is that the transfer didn't end well for my code and it needs some fixing. The problem is that when I look at it in Chrome, or Firefox, or IE8, I get three completely different renderings. I spent a good amount of time trying to fix a drop-down menu that is supposed to appear while hovering over a link. The one he had in place from ASP.net worked in IE, kinda worked in Firefox, and was completely broken in Chrome (I haven't tested Safari or Opera.) Just getting it to look basically the same in firefox and chrome was a struggle. The html source is showing me two completely different pages as well.

Does anyone have experience with this? I know nothing of ASP.net, and it seems like the guy is modifying my layout with a wsyiwyg (I found tables used in random places, which I did not put there.) Faced with this, what is my best option? Is this fixable, or am I in over my head?

View 3 Replies

Disabled Buttons Look Enabled In Firefox And Chrome?

Jul 7, 2010

Disabled buttons look enabled in Firefox and Chrome. I opened the same page in ie, firefox, chrome and this is the output:

"DashBoard" and "Calendar" are disabled
"Agent Info" is enabled.

Here I'm using normal asp buttons with css.What do I do?

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

Web Forms :: Webpage Has Expired Only In IE Not Chrome Or FireFox?

Jan 14, 2011

I have an interesting issue. I made some changes to an existing code base. The changes were fairly minor in the aspect of the pages, I added an UpdatePanel and some input areas to upload a file and update a database to the site master. The reason I add it to the site master was it is being called to display via jQuery. I made some additional code changes on some existing code behind to add a web method to handle the data from another jQuery driven piece to set a value for a particular billing code.

None of this is out of the ordinary and in fact it only adds additional similar functionality that I have added over the last 9 months. The issue now is since I made the changes using the browser back button in IE generates the following:

Webpage has expired

This only occurs with IE. Chrome and FireFox works fine. Thinking it maybe the new input boxes I removed those and attempted to run the application again I get the same result. I know that IE requires a refresh if there is data that is submitted on the form that you are trying to go back to, however so does Chrome and Firefox as far as I know.

View 3 Replies

C# - Password Regex Works In Chrome And Firefox But Not IE7?

Jan 13, 2011

The following regular expression works in chrome and firefox, but not IE7:

^((?=.*d)(?=.*[a-z])(?=.*[A-Z]).{8,20})$

It needs to contain at least 8 characters and have at least on uppercase and a number. When I try this in IE7, I have to type 14 characters for it to validate. Can someone explain why and what would be the correct expression for all 3 browsers.

I am using an asp:RegularExpressionValidator to validate the password.

View 2 Replies

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

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

Why Does The Following Flash Not Initially Load In Firefox, But Works In Chrome And IE

Aug 20, 2010

The following flash does not initially load in firefox, but if I click the second tab on the right, and then go back to the first, it loads. This works in Chrome and IE. Here is the webpage.

View 3 Replies

Regular Expression Fails In IE, But Works In Chrome And Firefox?

Jul 13, 2010

I have the following asp.net markup:

<asp:TextBox ID="txtPassword" runat="server" TextMode="Password"
ValidationGroup="passwordValidation"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="Dynamic"
ControlToValidate="txtPassword" Text="Required" ValidationGroup="passwordValidation" />
<asp:RegularExpressionValidator runat="server" ControlToValidate="txtPassword"
Text="Passwords should contain a minimum of 7 characters with at least one numeric
character." ValidationExpression="^(?=.*d{1})(?=.*[a-zA-Z]{2}).{7,}$"
ValidationGroup="passwordValidation" Display="Dynamic"></asp:RegularExpressionValidator>

If I type in a password like test1234, it passes in chrome and firefox, but the message that my password should contain a minimum of 7 characters with at least one numeric character is shown in internet explorer

View 1 Replies







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