Ask a Question related to ASP.NET Data Grid Control, Design and Development.

  1. #1

    Default Persistence

    Hi,

    I have a datagrid with a checkbox column. The datagrid is using paging and
    sorting. When I click on a checkbox then go to page 2 (or any other) then
    come back to page 1 the checkbox is cleared!

    Any suggestions?

    Thanks,

    Yama



    Yama Guest

  2. Similar Questions and Discussions

    1. help for properties persistence
      Hi. I'm developing a WebControl that uses the following custom attributes: I'm using ParseChildren(false), because i've got two collection...
    2. (the stage).image persistence
      Just in case anyone makes the same mistake I did: (the stage).image still contains the image of the previous active frame during the beginSprite...
    3. Collection Persistence
      All, I'm sorry for asking this cause I know it has been asked a thousand times before, but I don't seem to be able to find a complete solution...
    4. object persistence
      I instatiate an object first time when an asp.net page loads. But when the page reloads after Post Back, I get an error saying the object does not...
    5. Session Variables Persistence
      If the browser is loading the file from the local cache, then it is not going back to the server, so no ASP code is being run on the server to...
  3. #2

    Default Re: Persistence

    You'll need to include an "Update" button in the grid, so that after changes
    have been made to a record, they will be saved in your DataSet. Without the
    user indicating that they want to update, the behavior you are describing is
    correct.


    "Yama" <yamajan@cox.net> wrote in message
    news:%23QsTWOSeEHA.3988@tk2msftngp13.phx.gbl...
    > Hi,
    >
    > I have a datagrid with a checkbox column. The datagrid is using paging and
    > sorting. When I click on a checkbox then go to page 2 (or any other) then
    > come back to page 1 the checkbox is cleared!
    >
    > Any suggestions?
    >
    > Thanks,
    >
    > Yama
    >
    >
    >

    Scott M. Guest

  4. #3

    Default Re: Persistence

    X-Cellent idea buddy!

    Thanks I will give it a try.

    Yama


    "Scott M." <s-mar@nospam.nospam> wrote in message
    news:eV9lK1WeEHA.1732@TK2MSFTNGP09.phx.gbl...
    > You'll need to include an "Update" button in the grid, so that after
    changes
    > have been made to a record, they will be saved in your DataSet. Without
    the
    > user indicating that they want to update, the behavior you are describing
    is
    > correct.
    >
    >
    > "Yama" <yamajan@cox.net> wrote in message
    > news:%23QsTWOSeEHA.3988@tk2msftngp13.phx.gbl...
    > > Hi,
    > >
    > > I have a datagrid with a checkbox column. The datagrid is using paging
    and
    > > sorting. When I click on a checkbox then go to page 2 (or any other)
    then
    > > come back to page 1 the checkbox is cleared!
    > >
    > > Any suggestions?
    > >
    > > Thanks,
    > >
    > > Yama
    > >
    > >
    > >
    >
    >

    Yama Guest

  5. #4

    Default Re: Persistence

    Make sure to use the Update/Cancel button choices from the Button Column
    section of the Property Designer and not just a button you create. This
    way, the UpdateCommand and CancelCommand event handlers will be available to
    you.


    "Yama" <ykamyar@stbernard.com> wrote in message
    news:eL%23iYMXeEHA.1652@TK2MSFTNGP09.phx.gbl...
    > X-Cellent idea buddy!
    >
    > Thanks I will give it a try.
    >
    > Yama
    >
    >
    > "Scott M." <s-mar@nospam.nospam> wrote in message
    > news:eV9lK1WeEHA.1732@TK2MSFTNGP09.phx.gbl...
    > > You'll need to include an "Update" button in the grid, so that after
    > changes
    > > have been made to a record, they will be saved in your DataSet. Without
    > the
    > > user indicating that they want to update, the behavior you are
    describing
    > is
    > > correct.
    > >
    > >
    > > "Yama" <yamajan@cox.net> wrote in message
    > > news:%23QsTWOSeEHA.3988@tk2msftngp13.phx.gbl...
    > > > Hi,
    > > >
    > > > I have a datagrid with a checkbox column. The datagrid is using paging
    > and
    > > > sorting. When I click on a checkbox then go to page 2 (or any other)
    > then
    > > > come back to page 1 the checkbox is cleared!
    > > >
    > > > Any suggestions?
    > > >
    > > > Thanks,
    > > >
    > > > Yama
    > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Scott M. 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