GridView AutoFormat

Discussion in 'ASP .Net Web Controls' started by Greg Smith, Apr 3, 2007.

  1. Greg Smith

    Greg Smith Guest

    I have applications that I compile for different departments. All the
    departments are satisfied with one of the AutoFormat GridView themes,
    but not all the same one. I get stuck with reformatting all the grids
    before releasing them to the users.

    Is there a way to select one of the AutoFormat themes, (like
    'professional') in code? I would love to do this with conditional compiles.


    Any help is greatly appreciated.
    Greg Smith, Apr 3, 2007
    #1
    1. Advertising

  2. Greg Smith

    KyleK Guest

    Greg,

    I would look into using .skin files. Setup a default Gridview skin and then
    the customized one. Then change it based on the department variable.
    --
    Kyle Kelin
    ..NET Developer


    "Greg Smith" wrote:

    > I have applications that I compile for different departments. All the
    > departments are satisfied with one of the AutoFormat GridView themes,
    > but not all the same one. I get stuck with reformatting all the grids
    > before releasing them to the users.
    >
    > Is there a way to select one of the AutoFormat themes, (like
    > 'professional') in code? I would love to do this with conditional compiles.
    >
    >
    > Any help is greatly appreciated.
    >
    >
    >
    KyleK, Apr 3, 2007
    #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. Eirik Eldorsen

    turn off autoformat

    Eirik Eldorsen, Aug 6, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    723
    Welman Jordan
    Aug 7, 2004
  2. BartlebyScrivener

    Python Equivalent to Text::Autoformat

    BartlebyScrivener, Dec 3, 2005, in forum: Python
    Replies:
    5
    Views:
    598
    BartlebyScrivener
    Dec 4, 2005
  3. Alan Z. Scharf

    Datagrid Autoformat

    Alan Z. Scharf, Aug 18, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    3
    Views:
    166
    Alan Z. Scharf
    Aug 19, 2003
  4. Greg Smith

    GridView AutoFormat

    Greg Smith, Mar 21, 2007, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    904
    Kevin Fernandes
    Mar 22, 2007
  5. Sebho
    Replies:
    1
    Views:
    736
    Paul S
    Feb 23, 2010
Loading...

Share This Page