dropdownlist in a datagrid

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default dropdownlist in a datagrid

    I thought I saw this somewhere, but I want to have a
    dropdownlist in a datagrid. I have the column as an Item
    template, but when I paste in the code for a dropdown
    list funky things seem to happen.

    does anyone have an example of this?

    also - i do not want the user to hit edit on each line
    before seeing the drop down list. I would rather them
    just see the list and then pick what they want. I have a
    save button for the whole form rather than line by line

    thanks

    bob

    bob Guest

  2. Similar Questions and Discussions

    1. dropdownlist in datagrid...
      Hi I am a newbie to dotnet. I have a datagrid that also has a ddl and a button in each row. When the button is clicked I would like to perform an...
    2. how to use asp:dropdownlist as a key to filter a datagrid
      Hi all, I wonder what's the fastest/best way to do this in Dreamweaver MX 2004 with ASP.NET: - I want to create a aspx page with a dropdownlist...
    3. dropdownlist in datagrid
      Just add a ddl to you footer and populate it like you do with a normal ddl... Are u facing any probs? Hths.. R. Thomas
    4. dropdownlist in footer of datagrid
      Hi all, I was wondering how and if it's possible to have two dropdownlist in the footer of a datagrid but populate the second one from the...
    5. dropdownlist in datagrid.
      ive been trying to experiment on dropdownlist in a grid..i cannot get anything to work...i tried to have some code in the editcommand using the...
  3. #2

    Default Re: dropdownlist in a datagrid

    Here is what I found by searching in Google
    ([url]http://www.4guysfromrolla.com/webtech/050801-1.shtml[/url]). Title is
    Adding a DropDownList to an Editable Datasgrid.


    "bob" <compbob_2000@yahoo.com> wrote in message
    news:05b101c35614$e3f1b8b0$a101280a@phx.gbl...
    > I thought I saw this somewhere, but I want to have a
    > dropdownlist in a datagrid. I have the column as an Item
    > template, but when I paste in the code for a dropdown
    > list funky things seem to happen.
    >
    > does anyone have an example of this?
    >
    > also - i do not want the user to hit edit on each line
    > before seeing the drop down list. I would rather them
    > just see the list and then pick what they want. I have a
    > save button for the whole form rather than line by line
    >
    > thanks
    >
    > bob
    >

    abacnet Guest

  4. #3

    Default Re: dropdownlist in a datagrid

    what I am looking for is that the user does not have to press edit to
    see the list. they will update a list of things all at once with a
    submit button, however for one column i need a drop down list that is
    ALWAYS visible without hitting edit - and of course selected on the
    right one!

    this was pretty simple stuff in asp and seems like a nightmare in .net





    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    bob d Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139