working with ASP:HYPERLINK

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nicknack

    #1

    working with ASP:HYPERLINK

    Hello.

    I have an asp:hyperling in my page and I'm trying to make it "clicked"
    from my code behind.

    Is this possible?

    I also tried it with JS but its look like the hyperlink doesn't have a
    "click()" method :(


    Any body have an idea?



    Thanks in advance,

    Roy.

  • Michael Nemtsev

    #2
    RE: working with ASP:HYPERLINK

    Did u try to set NavigateUrl property?

    --
    WBR,
    Michael Nemtsev :: blog: http://spaces.live.com/laflour

    "At times one remains faithful to a cause only because its opponents do not
    cease to be insipid." (c) Friedrich Nietzsche




    "nicknack" wrote:
    Hello.
    >
    I have an asp:hyperling in my page and I'm trying to make it "clicked"
    from my code behind.
    >
    Is this possible?
    >
    I also tried it with JS but its look like the hyperlink doesn't have a
    "click()" method :(
    >
    >
    Any body have an idea?
    >
    >
    >
    Thanks in advance,
    >
    Roy.
    >
    >

    Comment

    • nicknack

      #3
      Re: working with ASP:HYPERLINK

      Hi.
      i have navigition url set but its not what i wanted.
      i wanted that when i click a button it will simulate a click on the
      hyperlink.
      any way - its loo like there isn't an option to do that.

      maybe i'll change it with a link button :(

      thanks any way.

      nicknack כתב:
      Hello.
      >
      I have an asp:hyperling in my page and I'm trying to make it "clicked"
      from my code behind.
      >
      Is this possible?
      >
      I also tried it with JS but its look like the hyperlink doesn't have a
      "click()" method :(


      Any body have an idea?



      Thanks in advance,

      Roy.

      Comment

      • Michael Nemtsev

        #4
        Re: working with ASP:HYPERLINK

        Then use
        hyperlink1.Attr ibutes.Add("OnC lick", "ClickMe()" );
        where ClickMe() is your javascript function

        --
        WBR,
        Michael Nemtsev :: blog: http://spaces.live.com/laflour

        "At times one remains faithful to a cause only because its opponents do not
        cease to be insipid." (c) Friedrich Nietzsche




        "nicknack" wrote:
        Hi.
        i have navigition url set but its not what i wanted.
        i wanted that when i click a button it will simulate a click on the
        hyperlink.
        any way - its loo like there isn't an option to do that.
        >
        maybe i'll change it with a link button :(
        >
        thanks any way.
        >
        nicknack כתב:
        Hello.

        I have an asp:hyperling in my page and I'm trying to make it "clicked"
        from my code behind.

        Is this possible?

        I also tried it with JS but its look like the hyperlink doesn't have a
        "click()" method :(


        Any body have an idea?



        Thanks in advance,

        Roy.
        >
        >

        Comment

        Working...