Hyperlink column in a datagrid

Discussion in 'ASP .Net' started by =?Utf-8?B?TWFubnkgQ2hvaGFu?=, Nov 1, 2004.

  1. Hi Guys, I have a hyperlink column in a datagrid as follows

    <asp:HyperLinkColumn Target="_parent" DataNavigateUrlField="HREF"
    DataNavigateUrlFormatString="detailspage.aspx?id={0}&CRM=true"
    DataTextField="From" SortExpression="From" HeaderText="From">
    <ItemStyle Width="20%"></ItemStyle>
    </asp:HyperLinkColumn>

    How can i use the HttpUtility.UrlEncode to encode the URL?

    Thanks in advance

    Manny
     
    =?Utf-8?B?TWFubnkgQ2hvaGFu?=, Nov 1, 2004
    #1
    1. Advertisements

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. Claire Reed

    change datagrid column to hyperlink

    Claire Reed, Aug 4, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    549
    Marina
    Aug 4, 2003
  2. Child
    Replies:
    1
    Views:
    448
    Child
    Aug 11, 2003
  3. »OÆW·L³n§Þ³N¤ä´©³¡

    RE: DataGrid - HyperLink Column Pop-Up

    »OÆW·L³n§Þ³N¤ä´©³¡, Aug 13, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    590
  4. =?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:
    764
    =?Utf-8?B?V2FyYW4=?=
    Aug 9, 2005
  5. =?Utf-8?B?ZGF2aWQ=?=
    Replies:
    11
    Views:
    1,215
    deandany
    Jul 17, 2006
  6. davetichenor
    Replies:
    1
    Views:
    1,112
    Eliyahu Goldin
    Oct 30, 2006
  7. Keith G Hicks
    Replies:
    3
    Views:
    1,008
    Keith G Hicks
    Feb 18, 2008
  8. Dave
    Replies:
    0
    Views:
    1,243
Loading...