Professional Web Applications Themes

Add new row in DataGrid - ASP.NET General

Hi all... I have a datagrid in web form binded with datasource, and I want to make a new row whenever I press enter in last row and last column with insert state. Is that posible to make that kind of event? :) Thank alot Ruby...

  1. #1

    Default Add new row in DataGrid

    Hi all...

    I have a datagrid in web form binded with datasource, and I want to make a
    new row whenever I press enter in last row and last column with insert
    state.
    Is that posible to make that kind of event? :)

    Thank alot
    Ruby



    Ruby Guest

  2. #2

    Default Re: Add new row in DataGrid

    Hi

    yes it is possible.
    after binding the Datagrid... get the reference of Last col of last row and and the attribute for the event when keypress.
    and in the javascript if the keypress scan code is Enter-Key then post back the form to handle event.

    rajeev

    "Ruby" <rubygoldmart.co.id> wrote in message news:3f1f7eddnews.cbn.net.id...
    > Hi all...
    >
    > I have a datagrid in web form binded with datasource, and I want to make a
    > new row whenever I press enter in last row and last column with insert
    > state.
    > Is that posible to make that kind of event? :)
    >
    > Thank alot
    > Ruby
    >
    >
    >
    >
    Rajeev Soni Guest

  3. #3

    Default Add new row in datagrid

    Hi

    How can add a new row and save changes in a datagrid?
    Thanks
    --
    Soly
    latha Guest

  4. #4

    Default Re: Add new row in datagrid

    did you google for this before posting? there are tons of examples on the
    web about this

    --
    Regards,
    Alvin Bruney - ASP.NET MVP

    [Shameless Author Plug]
    The Microsoft Office Web Components Black Book with .NET
    Now available [url]www.lulu.com/owc[/url], Amazon.com etc
    "latha" <lathadiscussions.microsoft.com> wrote in message
    news:D0CB91B3-BB3E-4DF8-92F5-812F9F903F27microsoft.com...
    > Hi
    >
    > How can add a new row and save changes in a datagrid?
    > Thanks
    > --
    > Soly

    Alvin Bruney [MVP - ASP.NET] Guest

  5. #5

    Default Re: Add new row in datagrid

    Yes I did. But in my footer template, I wanted to know how I can filter data
    in the next cell based on the value selected in the previous listbox cell.
    --
    Soly


    "Alvin Bruney [MVP - ASP.NET]" wrote:
    > did you google for this before posting? there are tons of examples on the
    > web about this
    >
    > --
    > Regards,
    > Alvin Bruney - ASP.NET MVP
    >
    > [Shameless Author Plug]
    > The Microsoft Office Web Components Black Book with .NET
    > Now available [url]www.lulu.com/owc[/url], Amazon.com etc
    > "latha" <lathadiscussions.microsoft.com> wrote in message
    > news:D0CB91B3-BB3E-4DF8-92F5-812F9F903F27microsoft.com...
    > > Hi
    > >
    > > How can add a new row and save changes in a datagrid?
    > > Thanks
    > > --
    > > Soly
    >
    >
    >
    latha Guest

Similar Threads

  1. Replies: 0
    Last Post: April 5th, 03:58 AM
  2. Replies: 6
    Last Post: March 22nd, 03:20 AM
  3. Replies: 2
    Last Post: March 21st, 06:51 PM
  4. Replies: 0
    Last Post: April 6th, 10:14 AM
  5. Replies: 0
    Last Post: October 8th, 01:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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