url in cell.innerhtml not doing a postback

Discussion in 'ASP .Net Web Controls' started by pradeep, Feb 28, 2005.

  1. pradeep

    pradeep Guest

    i have a url which i create using <a href=...> tags and it also contains a
    query string im passing..when i click on it..the parameters passed in it are
    used and are processed in the same page. The issue is when i click on the
    resulting url it is not a post back.
    'url is a string var
    url = "details.aspx?paramWebFormID = " &
    Trim(CStr(Columns(cnt).LinkWebFormID)) & "&paramStr = " + sParamStr
    this im passing to a cell.innerhtml as <a href = url>...</a>
    How do i make the link click an post back??
    Thanks in advance!!!
     
    pradeep, Feb 28, 2005
    #1
    1. Advertising

  2. pradeep

    Wilco Bauwer Guest

    Use a linkbutton instead:

    <asp:LinkButton Runat="server" OnClick="....">my link</asp:LinkButton>

    ----
    - Wilco Bauwer
    Blog & Custom Controls @ http://wilcoding.xs4all.nl
     
    Wilco Bauwer, Feb 28, 2005
    #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. Replies:
    9
    Views:
    22,841
  2. Bob Rock
    Replies:
    0
    Views:
    369
    Bob Rock
    Sep 17, 2006
  3. necromonger

    help with DOM row/cell with innerHTML

    necromonger, Oct 11, 2004, in forum: Javascript
    Replies:
    22
    Views:
    338
    Michael Winter
    Oct 14, 2004
  4. Replies:
    9
    Views:
    121
  5. sonic
    Replies:
    5
    Views:
    293
    Randy Webb
    Jul 11, 2006
Loading...

Share This Page