Question about Edit Data in DetailsView

Discussion in 'ASP .Net' started by Robin9876, Jan 18, 2008.

  1. Robin9876

    Robin9876 Guest

    When editing data in DetailsView or GridView in Visual Studio 2005 all
    the data items change to text boxes to edit. How can you change it so
    a drop down list is used on particular fields?
     
    Robin9876, Jan 18, 2008
    #1
    1. Advertising

  2. Robin9876

    JIGNESH Guest

    Use templates like <EditItemTemplate>. then you will be able to insert
    control of your choice like dropdown and you need to bind control properties
    to field.

    If you have worked with template in 1.0 or 1.1 version, then its in same way.

    Need step by step guidence then let me know.

    Regards
    JIGNESH



    "Robin9876" wrote:

    > When editing data in DetailsView or GridView in Visual Studio 2005 all
    > the data items change to text boxes to edit. How can you change it so
    > a drop down list is used on particular fields?
    >
     
    JIGNESH, Jan 18, 2008
    #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. sck10
    Replies:
    1
    Views:
    14,133
    Steven Cheng[MSFT]
    Nov 3, 2005
  2. VB Programmer

    How troubleshoot detailsview edit?

    VB Programmer, Jan 15, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    520
    VB Programmer
    Jan 15, 2006
  3. William LaMartin

    DetailsView edit and insert row widths

    William LaMartin, Jan 22, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    12,602
    mrpink
    Mar 29, 2009
  4. Jarod

    detailsView how to edit ?

    Jarod, Jan 24, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    480
    Jarod
    Jan 24, 2006
  5. Feege
    Replies:
    0
    Views:
    502
    Feege
    Dec 20, 2005
Loading...

Share This Page