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. pupup window

pupup window

Scheduled Pinned Locked Moved ASP.NET
javascriptsysadminhelpquestion
6 Posts 3 Posters 1 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.
  • N Offline
    N Offline
    Nafiseh Salmani
    wrote on last edited by
    #1

    I want to open an ASPX page as pupup ,using a hyperlink control which is in a gridview . I use the following code but it doesn't work!!!! :doh:

    <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True"
    NavigateUrl="javascript:window.open('<%# 'SME/ShowProductDetails.aspx?ARG='+(Eval('URLProduct') +'&Companyurl='+ Eval('URLCompany')).Replace('./?', 'http://www.sme.ir/&') %>','ProductDetails','width=400,Height=400,top=200,left=200' );"
    Text='<%# Eval("Title") %>'></asp:HyperLink>

    help me please!

    M 4 N 3 Replies Last reply
    0
    • N Nafiseh Salmani

      I want to open an ASPX page as pupup ,using a hyperlink control which is in a gridview . I use the following code but it doesn't work!!!! :doh:

      <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True"
      NavigateUrl="javascript:window.open('<%# 'SME/ShowProductDetails.aspx?ARG='+(Eval('URLProduct') +'&Companyurl='+ Eval('URLCompany')).Replace('./?', 'http://www.sme.ir/&') %>','ProductDetails','width=400,Height=400,top=200,left=200' );"
      Text='<%# Eval("Title") %>'></asp:HyperLink>

      help me please!

      M Offline
      M Offline
      mylogics
      wrote on last edited by
      #2

      try Response.redirect("page.aspx")....

      N 1 Reply Last reply
      0
      • M mylogics

        try Response.redirect("page.aspx")....

        N Offline
        N Offline
        Nafiseh Salmani
        wrote on last edited by
        #3

        Thanks ,but I want to open the page as a pupup!

        1 Reply Last reply
        0
        • N Nafiseh Salmani

          I want to open an ASPX page as pupup ,using a hyperlink control which is in a gridview . I use the following code but it doesn't work!!!! :doh:

          <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True"
          NavigateUrl="javascript:window.open('<%# 'SME/ShowProductDetails.aspx?ARG='+(Eval('URLProduct') +'&Companyurl='+ Eval('URLCompany')).Replace('./?', 'http://www.sme.ir/&') %>','ProductDetails','width=400,Height=400,top=200,left=200' );"
          Text='<%# Eval("Title") %>'></asp:HyperLink>

          help me please!

          4 Offline
          4 Offline
          4anusha4
          wrote on last edited by
          #4

          Try using ajax modal popoup extender

          N 1 Reply Last reply
          0
          • 4 4anusha4

            Try using ajax modal popoup extender

            N Offline
            N Offline
            Nafiseh Salmani
            wrote on last edited by
            #5

            I can't

            1 Reply Last reply
            0
            • N Nafiseh Salmani

              I want to open an ASPX page as pupup ,using a hyperlink control which is in a gridview . I use the following code but it doesn't work!!!! :doh:

              <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True"
              NavigateUrl="javascript:window.open('<%# 'SME/ShowProductDetails.aspx?ARG='+(Eval('URLProduct') +'&Companyurl='+ Eval('URLCompany')).Replace('./?', 'http://www.sme.ir/&') %>','ProductDetails','width=400,Height=400,top=200,left=200' );"
              Text='<%# Eval("Title") %>'></asp:HyperLink>

              help me please!

              N Offline
              N Offline
              Nafiseh Salmani
              wrote on last edited by
              #6

              Please help me!!! I'm really confused by ' and " when use " and when use ' ?!!!!

              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