Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. .net web form application using javascript

.net web form application using javascript

Scheduled Pinned Locked Moved ASP.NET
csharpjavascripthelpquestionannouncement
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dcof
    wrote on last edited by
    #1

    In a C# 2010 web form application, I have found some JavaScript statements that will not allow the application to execute when I am using the Internet Explorer browser since some of the objects are obsolete/deprecated. However when I run the application using Firefox, I find that the application runs. I have also noted that some of the Javascript objects in the web form application may be deprecated in the future and to use these items with caution. Thus if I deploy a new version of the current web form application and tell all users to only use Firefox in the next few weeks, I will create a static executable that everyone can use. Then when some of the objects are not allowed in Firefox, the application will still run since I have not changed the executable, correct? Would I need create a new version of the application with the Javascript changes that are required? If this is not true, would you let me know why and potentially what I should do to solve the issue?

    Z 1 Reply Last reply
    0
    • D dcof

      In a C# 2010 web form application, I have found some JavaScript statements that will not allow the application to execute when I am using the Internet Explorer browser since some of the objects are obsolete/deprecated. However when I run the application using Firefox, I find that the application runs. I have also noted that some of the Javascript objects in the web form application may be deprecated in the future and to use these items with caution. Thus if I deploy a new version of the current web form application and tell all users to only use Firefox in the next few weeks, I will create a static executable that everyone can use. Then when some of the objects are not allowed in Firefox, the application will still run since I have not changed the executable, correct? Would I need create a new version of the application with the Javascript changes that are required? If this is not true, would you let me know why and potentially what I should do to solve the issue?

      Z Offline
      Z Offline
      ZurdoDev
      wrote on last edited by
      #2

      dcof wrote:

      Would I need create a new version of the application with the Javascript changes that are required?

      I don't quite follow what you are asking, but if you find you are using old JavaScript that some browsers no longer support I suggest you update your code to be current. In my opinion, there is no need to create a new version of the application, just update your javascript and deploy the updated javascript.

      There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

      D 1 Reply Last reply
      0
      • Z ZurdoDev

        dcof wrote:

        Would I need create a new version of the application with the Javascript changes that are required?

        I don't quite follow what you are asking, but if you find you are using old JavaScript that some browsers no longer support I suggest you update your code to be current. In my opinion, there is no need to create a new version of the application, just update your javascript and deploy the updated javascript.

        There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

        D Offline
        D Offline
        dcof
        wrote on last edited by
        #3

        As far as I know when you deploy an application that includes the javascript. How do you deploy the javascript separately?

        Z 1 Reply Last reply
        0
        • D dcof

          As far as I know when you deploy an application that includes the javascript. How do you deploy the javascript separately?

          Z Offline
          Z Offline
          ZurdoDev
          wrote on last edited by
          #4

          All you have to do is copy the files.

          There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

          D 1 Reply Last reply
          0
          • Z ZurdoDev

            All you have to do is copy the files.

            There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

            D Offline
            D Offline
            dcof
            wrote on last edited by
            #5

            I am not very familiar with javascript. I only know enough to make minor changes. Thus how do you copy the javascript files? I know that the files end with .js and they are at various locations within the entire solution file. Wouldn't I have to copy all those files to the same directory structure on the server that hosts the website?

            Z 1 Reply Last reply
            0
            • D dcof

              I am not very familiar with javascript. I only know enough to make minor changes. Thus how do you copy the javascript files? I know that the files end with .js and they are at various locations within the entire solution file. Wouldn't I have to copy all those files to the same directory structure on the server that hosts the website?

              Z Offline
              Z Offline
              ZurdoDev
              wrote on last edited by
              #6

              dcof wrote:

              Wouldn't I have to copy all those files to the same directory structure on the server that hosts the website?

              Yes, but aren't they already there? So, if you change one file in development you only need to copy that file to production.

              There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups