Dynamically build hyperlink into datagrid control

Discussion in 'ASP .Net' started by =?Utf-8?B?a2x5bm4=?=, Oct 5, 2004.

  1. I need to create a datagrid dynamically and add a hyperlink onto one of the
    columns. So the user sees that columns value and can click on it. But the
    hyperlink sends a value from another column (which is hidden in the
    datagrid). Whats the best way to do this?
    =?Utf-8?B?a2x5bm4=?=, Oct 5, 2004
    #1
    1. Advertising

  2. Try this- see the detail grid part for dynamic datagrid

    http://www.dotnetjunkies.com/Tutorial/47792CB0-0990-4BD8-BF84-B6063C4C9BBC.dcik

    Regards
    vinay

    "klynn" wrote:

    > I need to create a datagrid dynamically and add a hyperlink onto one of the
    > columns. So the user sees that columns value and can click on it. But the
    > hyperlink sends a value from another column (which is hidden in the
    > datagrid). Whats the best way to do this?
    =?Utf-8?B?dmluYXk=?=, Oct 5, 2004
    #2
    1. Advertising

  3. Pretty close. The only problem with using the sample: I dont know the table
    that makes up the "master grid" until the page opens. I therefore dont know
    what the column that makes up the hyperlink will be. So all the stuff at the
    beginning of the article regarding the "pre-built" master grid doesnt work
    for me.
    But I think this is closer.

    "vinay" wrote:

    > Try this- see the detail grid part for dynamic datagrid
    >
    > http://www.dotnetjunkies.com/Tutorial/47792CB0-0990-4BD8-BF84-B6063C4C9BBC.dcik
    >
    > Regards
    > vinay
    >
    > "klynn" wrote:
    >
    > > I need to create a datagrid dynamically and add a hyperlink onto one of the
    > > columns. So the user sees that columns value and can click on it. But the
    > > hyperlink sends a value from another column (which is hidden in the
    > > datagrid). Whats the best way to do this?
    =?Utf-8?B?a2x5bm4=?=, Oct 5, 2004
    #3
    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. mimi
    Replies:
    1
    Views:
    423
    souri challa
    Jul 8, 2005
  2. davetichenor
    Replies:
    1
    Views:
    805
    Eliyahu Goldin
    Oct 30, 2006
  3. Ibrahim Shameeque

    Dynamically build RangeValidation control for text box

    Ibrahim Shameeque, Dec 12, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    110
    Ibrahim Shameeque
    Dec 12, 2003
  4. Ken
    Replies:
    1
    Views:
    361
    Alvin Bruney
    Aug 16, 2003
  5. Dave
    Replies:
    0
    Views:
    923
Loading...

Share This Page