Searching controls in a GridView with auto generated columns

Discussion in 'ASP .Net Web Controls' started by RBM, Jan 4, 2007.

  1. RBM

    RBM Guest

    Hello,

    On a page I have placed a gridview control which has a SqlDataSource.
    The SELECT statement of the SqlDataSource is generated from parameters.
    For this issue I programmed that the gridview should autogenerate the
    columns. I want to access members of controls in a column (if it
    exists).
    Does anyone knows how I can search for the controls and get a instance
    of the control in a column.

    Thanks in advantage.

    Greetings,

    RBM
     
    RBM, Jan 4, 2007
    #1
    1. Advertisements

  2. RBM

    RBM Guest

    Hello,

    I have "solved" this issue by creating a normal GridView and hide
    colums afterwards if nessary.

    Greetings,

    RBM

    RBM wrote:

    > Hello,
    >
    > On a page I have placed a gridview control which has a SqlDataSource.
    > The SELECT statement of the SqlDataSource is generated from parameters.
    > For this issue I programmed that the gridview should autogenerate the
    > columns. I want to access members of controls in a column (if it
    > exists).
    > Does anyone knows how I can search for the controls and get a instance
    > of the control in a column.
    >
    > Thanks in advantage.
    >
    > Greetings,
    >
    > RBM
     
    RBM, Jan 5, 2007
    #2
    1. Advertisements

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. Jason
    Replies:
    3
    Views:
    17,513
    Jan Hyde
    May 8, 2006
  2. Mark Rae

    GridView controls and hidden columns

    Mark Rae, May 14, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    2,504
    Mark Rae
    May 14, 2006
  3. Jacksm
    Replies:
    2
    Views:
    1,141
    Paul Chalekian
    Nov 21, 2006
  4. Robson Siqueira
    Replies:
    1
    Views:
    1,642
    bruce barker
    May 1, 2007
  5. =?Utf-8?B?cm9kY2hhcg==?=

    gridview auto columns

    =?Utf-8?B?cm9kY2hhcg==?=, May 31, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    629
    =?Utf-8?B?cm9kY2hhcg==?=
    May 31, 2007
  6. BillE
    Replies:
    2
    Views:
    1,682
    BillE
    Jun 18, 2007
  7. JohnE
    Replies:
    2
    Views:
    2,303
    JohnE
    Sep 22, 2009
  8. Vinki

    template columns and bound columns in gridview

    Vinki, Apr 25, 2007, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    1,154
    Vinki
    Apr 25, 2007
Loading...