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. when I change the file extension from html to aspx all the javascripts that are supposedn to design the page with XSL and HTC doesn't work.

when I change the file extension from html to aspx all the javascripts that are supposedn to design the page with XSL and HTC doesn't work.

Scheduled Pinned Locked Moved ASP.NET
htmldesignxml
9 Posts 3 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.
  • S Offline
    S Offline
    Shimmy Weitzhandler
    wrote on last edited by
    #1

    I didn't forget to add the <%@page%>

    Shimi

    P P 2 Replies Last reply
    0
    • S Shimmy Weitzhandler

      I didn't forget to add the <%@page%>

      Shimi

      P Offline
      P Offline
      pmarfleet
      wrote on last edited by
      #2

      Did you forget to ask a question?

      Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

      S 1 Reply Last reply
      0
      • S Shimmy Weitzhandler

        I didn't forget to add the <%@page%>

        Shimi

        P Offline
        P Offline
        Paddy Boyd
        wrote on last edited by
        #3

        You can't just change a file extension and expect it to work... That's how the server knows how to serve your page.

        S 1 Reply Last reply
        0
        • P Paddy Boyd

          You can't just change a file extension and expect it to work... That's how the server knows how to serve your page.

          S Offline
          S Offline
          Shimmy Weitzhandler
          wrote on last edited by
          #4

          Paddy Boyd wrote:

          You can't just change a file extension and expect it to work...

          why? usually, when I change the extension to .aspx, I just have to add the <%@page%> tag and it works. when the 's property 'language' is set to javascript the server automatically knows that it's client code. only in this case I'm in now it does not work. <div class="ForumSig">Shimi

          P 1 Reply Last reply
          0
          • S Shimmy Weitzhandler

            Paddy Boyd wrote:

            You can't just change a file extension and expect it to work...

            why? usually, when I change the extension to .aspx, I just have to add the <%@page%> tag and it works. when the 's property 'language' is set to javascript the server automatically knows that it's client code. only in this case I'm in now it does not work. <div class="ForumSig">Shimi

            P Offline
            P Offline
            Paddy Boyd
            wrote on last edited by
            #5

            Sorry, read that wrong, thought you were changing from aspx to html. Can you debug it at all?

            S 1 Reply Last reply
            0
            • P Paddy Boyd

              Sorry, read that wrong, thought you were changing from aspx to html. Can you debug it at all?

              S Offline
              S Offline
              Shimmy Weitzhandler
              wrote on last edited by
              #6

              I'm talking with you about an aspx file within an ASP.NET project, of course I can debug such a file. it doesn't matter, if it includes the %@page tag it works and all the works. but in this case the java scripts doesn't work for me. <div class="ForumSig">Shimi</div></x-turndown>

              1 Reply Last reply
              0
              • P pmarfleet

                Did you forget to ask a question?

                Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

                S Offline
                S Offline
                Shimmy Weitzhandler
                wrote on last edited by
                #7

                pmarfleet (Paul Marfleet) wrote:

                Did you forget to ask a question?

                my question is in the title

                Shimi

                P 1 Reply Last reply
                0
                • S Shimmy Weitzhandler

                  pmarfleet (Paul Marfleet) wrote:

                  Did you forget to ask a question?

                  my question is in the title

                  Shimi

                  P Offline
                  P Offline
                  pmarfleet
                  wrote on last edited by
                  #8

                  Shimi Weitzhandler wrote:

                  my question is in the title

                  It should be in the body of the post.

                  Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

                  S 1 Reply Last reply
                  0
                  • P pmarfleet

                    Shimi Weitzhandler wrote:

                    my question is in the title

                    It should be in the body of the post.

                    Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

                    S Offline
                    S Offline
                    Shimmy Weitzhandler
                    wrote on last edited by
                    #9

                    "when I change the file extension from html to aspx all the javascripts that are supposedn to design the page with XSL and HTC doesn't work." next time I'll use the title textbox for a brief message and write the quetion in the body now, could you please pay attention to my problem

                    Shimi

                    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