hyper link server control image url problem

Discussion in 'ASP .Net Web Controls' started by Uzi Baruch, May 19, 2004.

  1. Uzi Baruch

    Uzi Baruch Guest

    Hi

    I has a server hyperlink object, with an image url assigned to it.

    at render time, two object are created an href one and an image one.

    i need to know if someone knows how can i refernce the image object, it does
    not get and ID tag.

    and more, i want to be able to reference it from the server side if
    possible.

    Thanks,
    Uzi
     
    Uzi Baruch, May 19, 2004
    #1
    1. Advertising

  2. Is there a reason that you aren't using the imagebutton control? It seems
    like it does what you need.

    <form id="Form1" method="post" runat="server">
    <asp:ImageButton id="ImageButton1" runat="server"
    ImageUrl="http://www.gc.ca/images/flag.gif"></asp:ImageButton>
    </form>

    Ken

    "Uzi Baruch" <> wrote in message
    news:...
    > Hi
    >
    > I has a server hyperlink object, with an image url assigned to it.
    >
    > at render time, two object are created an href one and an image one.
    >
    > i need to know if someone knows how can i refernce the image object, it
    > does
    > not get and ID tag.
    >
    > and more, i want to be able to reference it from the server side if
    > possible.
    >
    > Thanks,
    > Uzi
    >
    >
     
    Ken Cox [Microsoft MVP], May 20, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Meheraj shaik via .NET 247

    Hyper link in Datagrid

    Meheraj shaik via .NET 247, May 28, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,525
  2. k-re
    Replies:
    1
    Views:
    1,737
    Tim S.
    Jun 25, 2003
  3. Hyper Link in DataGrid

    , Mar 3, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    504
    Patrick.O.Ige
    Mar 3, 2006
  4. Yann.K
    Replies:
    9
    Views:
    347
    Nemesis
    Sep 8, 2004
  5. simons
    Replies:
    1
    Views:
    668
    =?Utf-8?B?U2l2YSBN?=
    Jun 5, 2007
Loading...

Share This Page