Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 67611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:17:13+00:00 2026-05-10T19:17:13+00:00

Whilst trying to get our app working in Firefox (I’m a big proponent of

  • 0

Whilst trying to get our app working in Firefox (I’m a big proponent of X-Browser support but our lead dev is resisting me saying IE is good enough). So I’m doing a little side project to see how much work it is to convert.

I’ve hit a problem straight away.

The main.aspx page binds to a webservice using the IE only method of adding behaviour through a htc file, which is auto-generated by VS I beleive.

Firefox doesn’t support this but there is an xml bindings file which can be used to enable htc support (see here: http://dean.edwards.name/moz-behaviors/overview/). The examples work in FF3 but when I use my webservice.htc as I normally would e.g.:

//Main.aspx /*SNIP*/ <style type='text/css' media='all'>     #webservice     {         behavior:url(webservice.htc);         -moz-binding:url(bindings.xml#webservice.htc);     } </style> </head> <body> <div id='webservice'></div> <!-- we use this div to load the webservice stuff --> /*SNIP*/  //Main.js webservice.useService(url + asmpath + '/WebServiceWrapper.asmx?WSDL','WebServiceWrapper'); 

I get webservice is not defined (works fine in IE), I obviously tried

var webservice = document.getElementById('webservice')  

and

$('#webservice').useService(url + asmpath + '/WebServiceWrapper.asmx?WSDL','WebServiceWrapper'); 

as well which just gives me ‘useService is not defined’ in Firebug. Which leads me to beleive that the binding is not working. However I can see that webservice.htc is being loaded by Firefox in the Firebug console window.

Anyone got any experience of this?

Am I going to have to rewrite how the webservice is called?

Cheers, Rob

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T19:17:14+00:00Added an answer on May 10, 2026 at 7:17 pm

    I don’t think that you are on the right way for achieving real cross-browser compatibility. Adding support for IE-specific features for Firefox is definitely not the way to go. What about Opera, Safari, Chrome…? If the app you’re working on is used strictly on the intranet then supporting Firefox may be enough however…

    IMHO, the code should be refactored, but in an other way. If you are working with ASP.NET 2.0 (in this case you’d need ASP.NET Ajax) or newer, you can create proxy between Ajax and SOAP web services. In that case you would need to rewrite all your behaviors as a JavaScript code which may not be a small feat.

    On a side note: AFAIK VS.NET does not generate behaviors.

    Sorry if this is not too helpful 🙁

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Related Questions

Loading...

Sidebar

Ask A Question

Stats

  • Questions 55k
  • Answers 55k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Hope this helps: import java.io.ByteArrayOutputStream; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import… May 11, 2026 at 7:49 am
  • added an answer You need to use newsequentialid() instead see here Some Simple… May 11, 2026 at 7:49 am
  • added an answer You are deleting the row from the gridview but you… May 11, 2026 at 7:49 am

Top Members

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.