passing special characters in an asp:hyperlinkcolumn

Discussion in 'ASP .Net' started by fernhopper@seattletimes.com, Dec 1, 2003.

  1. Guest

    Is there a way I can do the equivalent of a
    server.URLEncode() when moving to a new form via a
    asp:hyperlinkcolumn in a datagrid? My hyperlink column
    currently looks like this:

    <asp:HyperLinkColumn DataNavigateUrlField="Course_code"
    DataNavigateUrlFormatString="CourseDetails.aspx?id={0}"
    DataTextField="course_code" HeaderText="Code">

    Field "course_code" can contain special charactres,
    i.e. "D&A".

    Thanks.
     
    , Dec 1, 2003
    #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. hoenes1
    Replies:
    0
    Views:
    697
    hoenes1
    Jun 8, 2005
  2. Stefan Mueller
    Replies:
    3
    Views:
    33,310
    Stefan Mueller
    Jul 23, 2006
  3. Replies:
    2
    Views:
    1,140
    Ingo Menger
    May 31, 2007
  4. rvino
    Replies:
    0
    Views:
    4,720
    rvino
    Aug 14, 2007
  5. majna
    Replies:
    4
    Views:
    781
    Thomas 'PointedEars' Lahn
    Sep 19, 2007
Loading...

Share This Page