DataFormatString

Discussion in 'ASP .Net' started by Kenny, Dec 31, 2004.

  1. Kenny

    Kenny Guest

    Hi,

    <asp:BoundColumn DataField="LongDescription" DataFormatString=...

    Is it possible to use DataFormatString to truncate the Description display
    in Datagrid? Or any suggestion??

    It is a problem when the Description too long and affect the UI of the page.

    Thanks,
    Kenny
     
    Kenny, Dec 31, 2004
    #1
    1. Advertising

  2. Kenny

    Karl Seguin Guest

    Don't think so,
    you might wanna check out:
    http://aspnet.4guysfromrolla.com/articles/100202-1.aspx

    says how to do it using a templateColumn..part 2 talks about how to do it
    with a custom boundcolumn...

    Karl

    --
    MY ASP.Net tutorials
    http://www.openmymind.net/


    "Kenny" <> wrote in message
    news:...
    > Hi,
    >
    > <asp:BoundColumn DataField="LongDescription" DataFormatString=...
    >
    > Is it possible to use DataFormatString to truncate the Description display
    > in Datagrid? Or any suggestion??
    >
    > It is a problem when the Description too long and affect the UI of the

    page.
    >
    > Thanks,
    > Kenny
    >
    >
     
    Karl Seguin, Dec 31, 2004
    #2
    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. frank

    DataFormatString Doesn't Work

    frank, Sep 5, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    2,145
    Luc Kumps
    Sep 5, 2003
  2. victor nguyen
    Replies:
    1
    Views:
    4,148
    Rutger Smit
    Sep 11, 2004
  3. Kenny

    How to use DataFormatString?

    Kenny, Dec 30, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    966
    John Saunders
    Dec 31, 2004
  4. Tarren
    Replies:
    7
    Views:
    5,023
    Tarren
    Jan 20, 2005
  5. Simon Harris

    DataFormatString Help

    Simon Harris, Feb 1, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    594
    Simon Harris
    Feb 9, 2005
Loading...

Share This Page