StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WebForms (How do I?)
»
IListServer implementation for DevExpress Server Mode
IListServer implementation for DevExpress Server Mode
Post Reply
Like
1
IListServer implementation for DevExpress Server Mode
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Andria Jensen
Andria Jensen
posted 16 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 336,
Visits: 497
Do you guys implement IListServer for the BOs and if not, can you point me in the right direction of how to implement this myself? We are are generating a few really large datasets and it is taking a while to render them without having this implemented. Thanks!
Reply
Like
1
Reply
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
How do you do a sort in code for the custom property or can you???
This logic will be entirely up to how you handle the code behind the custom property. Back to basics first, a BO.Sort uses the CurrentView.Sort property. So the sort is ultimately handled in the ADO.NET table behind the BO.
Depending on how you are sorting, then you can either force a column into the CurrentDataTable for sorting purposes, or if there is an IComparer option, you can do anything you want. This would allow you to pull the logic out of the standard BO sort. I don't have any first hand experience with the IListServer interface, but the IBindingList implementation may be a similar comparison in regards to the Sort implementation. In this case, in a BBS, we rely on the sort of the BO, not recreating an internal sort.
Don't know if any of this helps, but this isn't an easy to answer question because there are a lot of factors that can be involved.
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
IListServer implementation for DevExpress Server Mode
Andria Jensen
-
16 Years Ago
No, we don't. But you will not want to implement this on a BO...
Trent L. Taylor
-
16 Years Ago
Ok, here we go...I'm getting somewhere with all of this. Just...
Andria Jensen
-
16 Years Ago
[quote]How do you do a sort in code for the custom property or can...
Trent L. Taylor
-
16 Years Ago
They show their example using an ArrayList and sorting via an...
Andria Jensen
-
16 Years Ago
Well, giving you a sample is going to require a little elbow grease,...
Trent L. Taylor
-
16 Years Ago
Hi
Any further info could be shared? Or any alternate way to...
ChanKK
-
15 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search