Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Dataview filter remains filtered across users.

Reply
Thread Tools

Dataview filter remains filtered across users.

 
 
vMike
Guest
Posts: n/a
 
      08-26-2003
I have dataview which is stored in Cache for about 10 minutes. When a web
user makes a selection the cached data is called from cache, sorted,
filtered and bound to a datagrid. The cache is not re-saved. When the next
user comes along if they have no querystring parameters, they are supposed
to default back to the beginning of the data, but instead the data grid
starts at the point the last user was viewing. The users are able to get
back to any part of the data but it seems a bit odd that this is happenning.
I would think that the sort of one user should effect the sort of the other
user.

A temporary solution has been to re-filter the dataview after the datagrid
is bound to include all the records but it really doesn't make sense to me
at the next user get a page-load which is calls the cache. I'm concerned as
their may be other data that is being used "across" users that shouldn't be.
Is this normal? Thanks for any advice.


 
Reply With Quote
 
 
 
 
Natty Gur
Guest
Posts: n/a
 
      08-26-2003
Hi,

Dataview represents a databindable, customized view of a DataTable for
sorting, filtering, searching, editing, and navigation. So every action
you perform actually influences the underline datatable. Maybe itís
better for you to save datatable and clone it for every request or
alternatively keep the dataview in each user session (although I donít
like both of those methods)



Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorted DataView, but unsorted datalist when bound to the dataview CodeMonkey ASP .Net 1 02-04-2011 10:55 AM
Iterating across a filtered list Drew Python 18 03-14-2007 09:28 AM
Re: DataView filter Marina Levit [MVP] ASP .Net 2 12-22-2006 03:44 PM
use editable row to set up filter for the underlying dataview Ole ASP .Net Datagrid Control 1 02-04-2004 09:10 PM
Re: Dataview filter remains filtered across users. vMike ASP .Net 1 08-26-2003 01:23 PM



Advertisments