How to add multiple items to Item template col of datagrid at runt

Discussion in 'ASP .Net Web Controls' started by Abhishek, Mar 24, 2006.

  1. Abhishek

    Abhishek Guest

    Hi,

    I am creating a Datagrid at runtime and I have to create all the columns of
    grid at runtime... I am facing problem in the item template column. Here I
    want to place more than one control... For example Suppose there is a
    template column tc and i want to place two drop downlist in this tc say
    DrpList1 and DrpList2... Can anyone provide me any idea how to do this... I
    am getting many examples of adding items to the item template column by
    inheriting ITemplate and it is also working... but they are only associated
    with the single control...in a single template column... And i want multiple
    controls in a single template column...

    Please suggest.........
     
    Abhishek, Mar 24, 2006
    #1
    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. =?Utf-8?B?SmVyb2QgSGF0bGV5?=

    GridView add multiple controls to edit item template

    =?Utf-8?B?SmVyb2QgSGF0bGV5?=, Oct 7, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    1,269
    =?Utf-8?B?SmVyb2QgSGF0bGV5?=
    Oct 8, 2006
  2. =?Utf-8?B?Q2hyaXMgRmluaw==?=

    How to dynamically add control to datagrid item template

    =?Utf-8?B?Q2hyaXMgRmluaw==?=, Aug 20, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    729
    =?Utf-8?B?TWFuaXNoIEJhZm5h?=
    Aug 21, 2007
  3. Terry Reedy
    Replies:
    1
    Views:
    333
    Terry Reedy
    Sep 12, 2011
  4. Jiho Han
    Replies:
    1
    Views:
    332
    Victor Garcia Aprea [MVP]
    Jan 30, 2004
  5. Pat Maddox

    Runt: Matching the year

    Pat Maddox, Dec 14, 2005, in forum: Ruby
    Replies:
    0
    Views:
    184
    Pat Maddox
    Dec 14, 2005
  6. Paul Wright
    Replies:
    0
    Views:
    199
    Paul Wright
    Nov 7, 2006
  7. Amit Rawal
    Replies:
    0
    Views:
    217
    Amit Rawal
    Jun 23, 2009
  8. Replies:
    8
    Views:
    427
    Eric Sosman
    Apr 20, 2013
Loading...