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. how to pass querystring in url in datalist.

how to pass querystring in url in datalist.

Scheduled Pinned Locked Moved ASP.NET
14 Posts 6 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.
  • M monuSaini

    Hello EveryOne, i am unable to pass querystring with url. Actually i have taken an hyperlink in datalist and on the click event of dat hyperlink i want to send an id along with url i am using this : '> but i am getting errors like server tag not formed well Help needed :) rahul saini

    N Offline
    N Offline
    N a v a n e e t h
    wrote on last edited by
    #2

    "> Try this Cheers Navaneeth!! www.w3hearts.com -- modified at 6:28 Monday 12th March, 2007

    M S N 5 Replies Last reply
    0
    • N N a v a n e e t h

      "> Try this Cheers Navaneeth!! www.w3hearts.com -- modified at 6:28 Monday 12th March, 2007

      M Offline
      M Offline
      monuSaini
      wrote on last edited by
      #3

      Hi, I their is nothing in your rply pls rply me again. Thanks Rahul rahul saini

      N 1 Reply Last reply
      0
      • M monuSaini

        Hi, I their is nothing in your rply pls rply me again. Thanks Rahul rahul saini

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #4

        now check

        Cheers Navaneeth!! www.w3hearts.com

        1 Reply Last reply
        0
        • N N a v a n e e t h

          "> Try this Cheers Navaneeth!! www.w3hearts.com -- modified at 6:28 Monday 12th March, 2007

          M Offline
          M Offline
          monuSaini
          wrote on last edited by
          #5

          Hi, No its not working still getting error "The server tag is not well formed " "> Regards Rahul rahul saini

          1 Reply Last reply
          0
          • N N a v a n e e t h

            "> Try this Cheers Navaneeth!! www.w3hearts.com -- modified at 6:28 Monday 12th March, 2007

            S Offline
            S Offline
            Spunky Coder
            wrote on last edited by
            #6

            Try this one.. " /> Koushik

            M S 2 Replies Last reply
            0
            • S Spunky Coder

              Try this one.. " /> Koushik

              M Offline
              M Offline
              monuSaini
              wrote on last edited by
              #7

              Hi Pavan, Sry it also not working still getting the same error. Regards Rahul rahul saini

              1 Reply Last reply
              0
              • N N a v a n e e t h

                "> Try this Cheers Navaneeth!! www.w3hearts.com -- modified at 6:28 Monday 12th March, 2007

                N Offline
                N Offline
                N a v a n e e t h
                wrote on last edited by
                #8

                Try using

                M 1 Reply Last reply
                0
                • M monuSaini

                  Hello EveryOne, i am unable to pass querystring with url. Actually i have taken an hyperlink in datalist and on the click event of dat hyperlink i want to send an id along with url i am using this : '> but i am getting errors like server tag not formed well Help needed :) rahul saini

                  R Offline
                  R Offline
                  Rhys Gravell
                  wrote on last edited by
                  #9

                  This is to do with your quote usage and positioning I'd reckon. try;

                  1 Reply Last reply
                  0
                  • M monuSaini

                    Hello EveryOne, i am unable to pass querystring with url. Actually i have taken an hyperlink in datalist and on the click event of dat hyperlink i want to send an id along with url i am using this : '> but i am getting errors like server tag not formed well Help needed :) rahul saini

                    Y Offline
                    Y Offline
                    yuvachandra
                    wrote on last edited by
                    #10

                    hai monusaini,,try this one :rose:

                    M 1 Reply Last reply
                    0
                    • N N a v a n e e t h

                      "> Try this Cheers Navaneeth!! www.w3hearts.com -- modified at 6:28 Monday 12th March, 2007

                      S Offline
                      S Offline
                      Spunky Coder
                      wrote on last edited by
                      #11

                      try this one.. NavigateUrl='<%#"abc.aspx?ID="+DataBinder.Eval(Container.DataItem, "Id")%>' Koushik

                      1 Reply Last reply
                      0
                      • Y yuvachandra

                        hai monusaini,,try this one :rose:

                        M Offline
                        M Offline
                        monuSaini
                        wrote on last edited by
                        #12

                        Hurrey, Its working Thanks Rahul rahul saini

                        1 Reply Last reply
                        0
                        • N N a v a n e e t h

                          Try using

                          M Offline
                          M Offline
                          monuSaini
                          wrote on last edited by
                          #13

                          Hi Navaneeth, Its working with href. Thanks But i have use only button and have found the sollution by using this thanks for your help Regards Rahul rahul saini

                          1 Reply Last reply
                          0
                          • S Spunky Coder

                            Try this one.. " /> Koushik

                            S Offline
                            S Offline
                            serkanweb
                            wrote on last edited by
                            #14

                            'abc.aspx?id=<%# DataBinder.Eval(Container.DataItem, "Id")%>' you must use within single quotation mark

                            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