Datagrid Hyperlink Column with QueryString

Discussion in 'ASP .Net' started by CodeMotion, Jan 20, 2004.

  1. CodeMotion

    CodeMotion Guest

    Hi all,

    I am familiar with setting the DataNavigateUrlFormatString property of
    a hyperlink column to a bound column. However, I also want to append
    the querystring of the page that the datagrid lives on.

    Example:
    The datagrid is on this page:
    http://somedomain.com/someweb/domain.aspx?csid=3
    I am filling the datagrid with some other information so the
    DataNavigateUrlFormatString looks like this : template.aspx?ttid={0}
    But I want to append the &csid=3 to the end of that and I cannot
    figure out how to do it.
    So the url should look something like this:
    http://somedomain.com/someweb/template.aspx?ttid=4&csid=3

    Does this make sense? If not, I'll try to post more info but I think
    that should get my point across.

    Thanks!
    CodeMotion, Jan 20, 2004
    #1
    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. =?Utf-8?B?V2FyYW4=?=

    HyperLink Column and Button Column in a DataGrid

    =?Utf-8?B?V2FyYW4=?=, Aug 9, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    600
    =?Utf-8?B?V2FyYW4=?=
    Aug 9, 2005
  2. =?Utf-8?B?ZGF2aWQ=?=
    Replies:
    11
    Views:
    1,006
    deandany
    Jul 17, 2006
  3. davetichenor
    Replies:
    1
    Views:
    819
    Eliyahu Goldin
    Oct 30, 2006
  4. Keith G Hicks
    Replies:
    3
    Views:
    763
    Keith G Hicks
    Feb 18, 2008
  5. Dave
    Replies:
    0
    Views:
    935
Loading...

Share This Page