Parsing ButtonColumn.DataTextField Value

Discussion in 'ASP .Net Datagrid Control' started by jcpc48@gmail.com, Feb 7, 2007.

  1. Guest

    I have a datagrid with a ButtonColumn whose values need to look like
    hyperlinks:

    <asp:datagrid
    id="dgrdFiles"
    onitemcommand="ShowFileDetails"
    :
    runat="server">
    <columns>
    <asp:buttoncolumn
    :
    datatextfield="FileNm"
    datatextformatstring="<font color=blue><u>{0}</u></font>"

    It works fine, but I'm wondering if there's a simple way (i.e., one
    that doesn't involve RegEx) to extract the original, unformatted
    FileNm value from the cell. Any hints will be greatly appreciated!
    , Feb 7, 2007
    #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?TWlrZQ==?=

    Setting DataTextField and DataValuedField on the fly?

    =?Utf-8?B?TWlrZQ==?=, Nov 21, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    330
    =?Utf-8?B?TWlrZQ==?=
    Nov 21, 2003
  2. Morten
    Replies:
    2
    Views:
    698
    Morten
    Dec 19, 2003
  3. Gawel

    DataTextField in ButtonColumn

    Gawel, Jul 8, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    328
    Gawel
    Jul 8, 2004
  4. jobs
    Replies:
    0
    Views:
    480
  5. Arch
    Replies:
    2
    Views:
    299
Loading...

Share This Page