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. Move __doPostBack to include file

Move __doPostBack to include file

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
10 Posts 4 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.
  • B Offline
    B Offline
    Bjohnson33
    wrote on last edited by
    #1

    Hi all I've had a look around and can't find any reference to this, which probably indicates that I'm stupid trying to do it, but here goes... We've got an SEO consultant/master of the dark arts involved in one of our current projects and he's keen for the auto-generated __doPostBack to be in an include file rather than inline. Has anyone got any ideas how to do this, or, indeed, if it's possible? Thanks Ben

    E P T 3 Replies Last reply
    0
    • B Bjohnson33

      Hi all I've had a look around and can't find any reference to this, which probably indicates that I'm stupid trying to do it, but here goes... We've got an SEO consultant/master of the dark arts involved in one of our current projects and he's keen for the auto-generated __doPostBack to be in an include file rather than inline. Has anyone got any ideas how to do this, or, indeed, if it's possible? Thanks Ben

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      So you want just the event postback to be an include file, why?

      The answers posted by me are suggestions only and cannot be used in anyway against me.

      1 Reply Last reply
      0
      • B Bjohnson33

        Hi all I've had a look around and can't find any reference to this, which probably indicates that I'm stupid trying to do it, but here goes... We've got an SEO consultant/master of the dark arts involved in one of our current projects and he's keen for the auto-generated __doPostBack to be in an include file rather than inline. Has anyone got any ideas how to do this, or, indeed, if it's possible? Thanks Ben

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

        I catch the scent of a consultant who doesn't have fricking clue what he's talking about...

        1 Reply Last reply
        0
        • B Bjohnson33

          Hi all I've had a look around and can't find any reference to this, which probably indicates that I'm stupid trying to do it, but here goes... We've got an SEO consultant/master of the dark arts involved in one of our current projects and he's keen for the auto-generated __doPostBack to be in an include file rather than inline. Has anyone got any ideas how to do this, or, indeed, if it's possible? Thanks Ben

          T Offline
          T Offline
          ToddHileHoffer
          wrote on last edited by
          #4

          Why...?

          I didn't get any requirements for the signature

          B 1 Reply Last reply
          0
          • T ToddHileHoffer

            Why...?

            I didn't get any requirements for the signature

            B Offline
            B Offline
            Bjohnson33
            wrote on last edited by
            #5

            'Why' is a very good question.... The crux of his argument is that the cleaner the page (in his ideal world, the page would only be one css reference and H1 to H6 and P tags - obviously would not have functionality, but, hey, what does that matter), the better it will get indexed by the search engines - personally, I think this is a load of old horse sh!t, as I'm sure that Google have just about managed to figure out that it doesn't need to look inside script tags. However, the business have engaged him to be involved in the project which means we either need to come up with reasons not to implement suggested changes, or find ways to do them. If there's any easy way to do this, then I avoid a fight, if there isn't, and there's no value to it anyway, then I can go back to the business and suggest that most of what is being suggested has no value. Oh, the joy of mixing politics with technology.... Thanks in advance! Ben

            E T 3 Replies Last reply
            0
            • B Bjohnson33

              'Why' is a very good question.... The crux of his argument is that the cleaner the page (in his ideal world, the page would only be one css reference and H1 to H6 and P tags - obviously would not have functionality, but, hey, what does that matter), the better it will get indexed by the search engines - personally, I think this is a load of old horse sh!t, as I'm sure that Google have just about managed to figure out that it doesn't need to look inside script tags. However, the business have engaged him to be involved in the project which means we either need to come up with reasons not to implement suggested changes, or find ways to do them. If there's any easy way to do this, then I avoid a fight, if there isn't, and there's no value to it anyway, then I can go back to the business and suggest that most of what is being suggested has no value. Oh, the joy of mixing politics with technology.... Thanks in advance! Ben

              E Offline
              E Offline
              eyeseetee
              wrote on last edited by
              #6

              My understanding was that google did not store scripted tags as part of their index criteria rather they look at the content text of the page.

              The answers posted by me are suggestions only and cannot be used in anyway against me.

              B 1 Reply Last reply
              0
              • B Bjohnson33

                'Why' is a very good question.... The crux of his argument is that the cleaner the page (in his ideal world, the page would only be one css reference and H1 to H6 and P tags - obviously would not have functionality, but, hey, what does that matter), the better it will get indexed by the search engines - personally, I think this is a load of old horse sh!t, as I'm sure that Google have just about managed to figure out that it doesn't need to look inside script tags. However, the business have engaged him to be involved in the project which means we either need to come up with reasons not to implement suggested changes, or find ways to do them. If there's any easy way to do this, then I avoid a fight, if there isn't, and there's no value to it anyway, then I can go back to the business and suggest that most of what is being suggested has no value. Oh, the joy of mixing politics with technology.... Thanks in advance! Ben

                E Offline
                E Offline
                eyeseetee
                wrote on last edited by
                #7

                Also check this out: Add website to google

                The answers posted by me are suggestions only and cannot be used in anyway against me.

                1 Reply Last reply
                0
                • B Bjohnson33

                  'Why' is a very good question.... The crux of his argument is that the cleaner the page (in his ideal world, the page would only be one css reference and H1 to H6 and P tags - obviously would not have functionality, but, hey, what does that matter), the better it will get indexed by the search engines - personally, I think this is a load of old horse sh!t, as I'm sure that Google have just about managed to figure out that it doesn't need to look inside script tags. However, the business have engaged him to be involved in the project which means we either need to come up with reasons not to implement suggested changes, or find ways to do them. If there's any easy way to do this, then I avoid a fight, if there isn't, and there's no value to it anyway, then I can go back to the business and suggest that most of what is being suggested has no value. Oh, the joy of mixing politics with technology.... Thanks in advance! Ben

                  T Offline
                  T Offline
                  ToddHileHoffer
                  wrote on last edited by
                  #8

                  I have a plan for you. Since you have to play the game... Write a quick email to the consultant (and cc your boss) saying that you are not familiar with how to put all the javascript in an includes file. Rather then wasting time trying to figure out something he is obviously familiar with, ask him for some sample code. If he can't produce any sample code of how to do this, then tell him you don't know any more than he does... There's nothing wrong with admitting you don't know how to do something. No developer knows everything and since it is the consultants plan, surely he can show you some sample code.

                  I didn't get any requirements for the signature

                  B 1 Reply Last reply
                  0
                  • E eyeseetee

                    My understanding was that google did not store scripted tags as part of their index criteria rather they look at the content text of the page.

                    The answers posted by me are suggestions only and cannot be used in anyway against me.

                    B Offline
                    B Offline
                    Bjohnson33
                    wrote on last edited by
                    #9

                    Thanks - that was my understanding as well. A simple 'more clarification on the impact' question may head this off. Ben

                    1 Reply Last reply
                    0
                    • T ToddHileHoffer

                      I have a plan for you. Since you have to play the game... Write a quick email to the consultant (and cc your boss) saying that you are not familiar with how to put all the javascript in an includes file. Rather then wasting time trying to figure out something he is obviously familiar with, ask him for some sample code. If he can't produce any sample code of how to do this, then tell him you don't know any more than he does... There's nothing wrong with admitting you don't know how to do something. No developer knows everything and since it is the consultants plan, surely he can show you some sample code.

                      I didn't get any requirements for the signature

                      B Offline
                      B Offline
                      Bjohnson33
                      wrote on last edited by
                      #10

                      Thanks Todd. The consultant is not familiar with .Net technology, so a combination of yours and .netmans answers should give us a enough to make it a non-issue. Ben

                      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