ajax or html error on mozilla? - c#

The web site was built on asp.net platform. Ajax enabled. It works very well on
ie or chrome, but it does not work on mozilla...?
You see arrows work great but the numbers does not appear?
how can i fix..
http://dexiab-2.hosting.parking.ru//Default.aspx#world the link to see the detail..

I think that the problem is the label tag that you use, change the label to span (or div), and probably its going to work.

Related

Wpf Browser Control Showing Bootstrap.js Error upon Navigation

I have a website that uses bootstrap and I am accessing the website through a wpf form using the web browser control.
When I navigate to certain pages I get a script error window that says Invalid operand to instanceof: Function expected
The WPF form is my way of recreating a client's application where this same issue is occurring.
I can only change the html of the site , has anyone experienced this and found a solution ?
Is there a way to turn on debugging so i step thru and find what is calling the code
Has anyone specifically experienced something like this with the wpf browser control, and how did you get past it?
I figured it out: I stumbled across an entry on Rick Strahl's weblog (https://weblog.west-wind.com/posts/2011/May/21/Web-Browser-Control-Specifying-the-IE-Version) about the web browser control, and in one of the comments, a commenter said that he tried adding the following meta tag to the page:
<meta http-equiv="X-UA-Compatible" content="IE=11" />
So I put that in the master page of my application, and everything worked!

Facebook Like/Send buttons inconsistent across site pages

I have implemented the Facebook Like and Send button plugin. Look I think its fair to say that this should be fairly straightforward and having stepped though the process I was very happy that this was the case.
I am having an issue now that is causing me some difficulty resolving.
The issue is around an inconsistent display and functionality of the plugin. It works perfectly for some of our site pages and doesnt work at all for others.
On the pages where the plugin does not work the Send Button doesnt appear and when the Like Button is clicked it opens the Like Dialog very briefly and immediately closes it without any Like Action being recorded
I have checked all of the site pages through the Facebook Debugger tool and all the pages are being scraped correctly with correct Open Graph Meta Tags etc...
At this stage I am wondering if anybody has had this issue? I am aware that there were issues with the Send Button this year but my understanding was that these issues had been resolved...
website url that displays incorrectly is: http://www.todaysdeals.ie/Deal.aspx?dlid=441
website url that displays correctly is: http://www.todaysdeals.ie/Deal.aspx?dlid=439
It looks to me like the problem is in how you're declaring the button code. You've specified a width of 90px in the FBXML code, but Facebook seems to be ignoring this and rendering its code at 150px.
My guess is on the incorrect page, you've got a large number of likes on this page, and it's wrapping the buttons into a hidden area of the div.
I'd start by increasing the width in your FBXML code to at least 176px and see what happens.

Autocompleteextender in Ajax has a position issue in IE8

I am working on AutocompleteExtender using ajaxControlToolkit. I have it working great in all the browsers except for IE8. IE7 works good too. The list that i see when i start typing in the textbox is not shown under the textbox. Instead you see the list somewhere else. I started to change values using firebug and realized "position:absolute" has to do something. So i changed it to fixed and it worked fine. But to change the position to fixed in the code, i don't know where that part of the code exits. Can someone help me so i have the list showed right under the Textbox.
This is in c# 2.0 using VS 2005.
Thanks a lot in advance!!
I have used the autocomeplete extender for ACT, and I have since moved to the JQuery option. The functionality is very similar, but it is much more customizable when it comes to styling and cross browser support. Take a look at it here:
http://jqueryui.com/demos/autocomplete/

How to alter browser's back button functionality similar to eCommerce sites in asp.net

I have a web application, in which browser's back button functionality should be customized. It's like, whenever we click on browser's back button, it should take us to landing page(Login page), It should display error message saying that 'session expired. Please login again'.
I have gone through so many posts and even in stack overflow also, i saw few posts. But nothing worked for me. The java script approach i am using as a temporary workaround.Basically this JavaScript never allow us to go back. instead it will keep us in same page.
JavaScript i have used <script>history.go(1)</script>
Please help me to customize the functionality of Browser's back button.
Any suggestions will be really helpful to me.
Short answer: You cannot
A little longer: You shouldn't even try.
But if you insist: A Thorough Examination of "Disabling the Back Button." (from 2000, but since it is ASP I guess still valid for you :)
Newer dot net: Restrict user go back to previous page after signout
Ignore the older browsers do not support location.replace - IE3.2 is not considered older any more but ancient.
For this - you would need a custom solution and disabling back button will not help...
Usually you should not try to change the behavior of back button. But since this is the requirement, I would suggest the following:
Approach 1:
This calls for creating a navigation framework where you know which is the current page in the flow... This is only possible if you a sequence in which the pages will be called (like a wizard)
Approach 2:
Specific to your case : You can use jquery/javascript to identify if the back button is clicked.. If it is then you can do an ajax call to server to kill the session and then redirect the user to login page.
You can programmatically manipulate browser history using something like this:
window.history.back();
window.history.forward();
window.history.go(2); etc.
In HTML5 ready modern browsers like Chrome you can also do more advanced things including completely overwriting back button functionality using history.pushState() and history.replaceState() methods.
(https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history)
You can also go dirty and use javascript + ajax calls to react specifically to back button events, but this will also not work on some browsers. What you ask is not a native part of a web, so no matter what you will decide to use in the end, it wont be very easy or widely supported.

ASP.NET repeater control overlapping for some users

My whole websites makes use of the ASP.NET(2.0) repeater control and I have been getting some complains from people that they cant view my site as the controls are overlapping.
This sounds like a browser issue to me as I never see it in IE8 or IE7 or Chrome or Firefox.
Any idea why this is happening? What should I do to prevent this from happening?
Sounds like a Microsoft issue?
As far as the browser is concerned, there's no such thing as an ASP.NET repeater control (indeed, to the browser, there's no such thing as ASP.NET); the browser cares only about the resultant HTML and CSS.
The first thing I would do is to make sure the HTML is valid, while browsers will do incorrect things with valid HTML, testing its validity is a quick way to catch a lot of errors that can cause problems (in particular, where the tags aren't correctly nested). I use this firefox plugin that is imperfect but quick to use.
This isn't guaranteed to be your issue, but it's definitely the place to start.
The only way you are going to find out what is happening is to check your site in various browsers. You should at least be testing in Firefox, Chrome and IE (arguably 6 and above).
The issue is most likely css markup not being cross browser compliant.
A lot of developers go with process of get it working in Firefox, and then fix any quirks in IE. The Firefix Firebug plugin is ideally suited for testing and modifying css. IETester is also handy for testing various versions of IE in one application.

Categories

Resources