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. 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:
    604
    =?Utf-8?B?V2FyYW4=?=
    Aug 9, 2005
  2. =?Utf-8?B?ZGF2aWQ=?=
    Replies:
    11
    Views:
    1,013
    deandany
    Jul 17, 2006
  3. davetichenor
    Replies:
    1
    Views:
    847
    Eliyahu Goldin
    Oct 30, 2006
  4. Keith G Hicks
    Replies:
    3
    Views:
    770
    Keith G Hicks
    Feb 18, 2008
  5. Dave
    Replies:
    0
    Views:
    961
Loading...

Share This Page