Problems with Datagrid PreferredColumnWidth.

Discussion in 'ASP .Net Building Controls' started by Richard, Jun 29, 2005.

  1. Richard

    Richard Guest

    I actually have two questions:

    1: Is there any way to specify a preferred column width on a per column
    basis? My control is a datagrid whose data source is a table built on the fly
    with DataColumns and DataRows.

    2: Right now I am using the PreferredColumnWidth property of the Datagrid to
    set all the coulmns to the same width. (Better than nothing.) The problem I
    am having is in deploying the application. It works fine on my box but if
    anyone else trys to run it, they get an error message stating that the
    PreferredColumnWidth property is not set in their application settings. How
    do I get around this?
     
    Richard, Jun 29, 2005
    #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. Ingeborg

    DataGrid problems

    Ingeborg, Jun 28, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    439
    Luke Zhang [MSFT]
    Jul 1, 2003
  2. Susan Baker
    Replies:
    2
    Views:
    823
    kelvSYC
    Jun 26, 2005
  3. Shelly

    Problems, problems for newbie

    Shelly, Sep 2, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    2,191
    Shelly
    Sep 3, 2007
  4. Andreas Klemt
    Replies:
    0
    Views:
    313
    Andreas Klemt
    Oct 8, 2003
  5. Sak Na rede
    Replies:
    0
    Views:
    425
    Sak Na rede
    Jan 30, 2009
Loading...

Share This Page