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

  1. #1

    Default Preserving Filters

    Hi,

    I have written an app which is using a lot of datagrids.
    Sorting and Filtering of recs have been done succesfully.
    Editing of recs being done either on a different page or by hiding the
    datagrid and showing other controls. Now the problem is that
    if the user has sorted or filtered the rec and when he edits the rec and
    comes back
    the filter or the sort are not there.

    One way is to take the filter and sort val to next page and then on coming
    back to
    the initial page use those vals to filter and sort the recs.
    But, is there any inbuilt thing which can do this.

    ---
    Rohit


    Rohit Kukreti Guest

  2. Similar Questions and Discussions

    1. Preserving File Name
      Is there any way to force Contribute to overwrite files? We update our site daily and as a result, each time new images are loaded contribute...
    2. Preserving Primary Keys in DTS
      I have a dev and production server. I want to copy the data from a table in production to DEV and preserve the primary key values. What's the best...
    3. Preserving data
      I'm using flash forms and was wondering if data can be preserved. If a user enters some data and submits the form. If there is something wrong I...
    4. preserving html in xmlText
      Anybody have an idea how to preserve html tags within a specific xml node's xmlText ? for example if a string has <b> tags around a word I want to...
    5. Preserving desktop
      I use a screen resolution of 1024 x 768. To check that a projector looks OK at 800 x 600 I reset my machine to that resolution. Doing that messes up...
  3. #2

    Default Re: Preserving Filters

    hi Rohit,
    You can do this using ViewState and Session Objects.

    Regards,
    Rohit,


    "Rohit Kukreti" <rohitkukreti@hotmail.com> wrote in message
    news:ubgLZAUbDHA.2296@TK2MSFTNGP09.phx.gbl...
    > Hi,
    >
    > I have written an app which is using a lot of datagrids.
    > Sorting and Filtering of recs have been done succesfully.
    > Editing of recs being done either on a different page or by hiding the
    > datagrid and showing other controls. Now the problem is that
    > if the user has sorted or filtered the rec and when he edits the rec and
    > comes back
    > the filter or the sort are not there.
    >
    > One way is to take the filter and sort val to next page and then on coming
    > back to
    > the initial page use those vals to filter and sort the recs.
    > But, is there any inbuilt thing which can do this.
    >
    > ---
    > Rohit
    >
    >

    Rohit 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