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. Link button problem

Link button problem

Scheduled Pinned Locked Moved ASP.NET
helpquestion
4 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.
  • N Offline
    N Offline
    Niungareamit
    wrote on last edited by
    #1

    hi, I am using a link button as "Advance Search". When I click on this link button it show as Panel window for Advance Search. but when I right click on a link and click on "Open in new window" it gives an error...... Page can not be displayed..... Does anybody have solution for this?

    C P 2 Replies Last reply
    0
    • N Niungareamit

      hi, I am using a link button as "Advance Search". When I click on this link button it show as Panel window for Advance Search. but when I right click on a link and click on "Open in new window" it gives an error...... Page can not be displayed..... Does anybody have solution for this?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Did you set a breakpoint to see what happens when you do the right click ? Does the code to generate the page get run ? Is this a general limitation of the link button control ?

      Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

      N 1 Reply Last reply
      0
      • C Christian Graus

        Did you set a breakpoint to see what happens when you do the right click ? Does the code to generate the page get run ? Is this a general limitation of the link button control ?

        Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

        N Offline
        N Offline
        Niungareamit
        wrote on last edited by
        #3

        sir, I have not written any code on On click event of link button I have set properties for Panel as follows AutoCollapse: False; AutoExpand: false; CollapseControlId : lnl_Advance(Link Button); Collapsed : true; scrollContents: false; suppressPostback: true; how should I go for the solution?????

        modified on Friday, April 17, 2009 8:20 AM

        1 Reply Last reply
        0
        • N Niungareamit

          hi, I am using a link button as "Advance Search". When I click on this link button it show as Panel window for Advance Search. but when I right click on a link and click on "Open in new window" it gives an error...... Page can not be displayed..... Does anybody have solution for this?

          P Offline
          P Offline
          PauloCastilho
          wrote on last edited by
          #4

          LinkButton is an ASP.Net Server Control that generates an html anchor tag ( <a></a> ) with a JavaScript similiar to "javascript:__doPostBack('','')" in href attribute. So, if you try to "Open in new window", you will obviously get an error because you are trying to open an JavaScript command in a new window.

          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