SortedBindingList for Web controls?

SortedBindingList for Web controls?

Old forum URL: forums.lhotka.net/forums/t/3131.aspx


albruan posted on Tuesday, July 03, 2007

I have need for something like SortedBindingList to bind some business objects to Web controls, primarily the ListBox control.  I was thinking the SortedBindingList would work with Web controls, but reread the chapter where Rocky describes it and see that it's applicable only to Winform controls.  Is there another way for me to accomplish what I need?

Brian Criswell replied on Tuesday, July 03, 2007

I am on holiday and do not have the book with me, but why would the SortedBindingList not work here?

albruan replied on Tuesday, July 03, 2007

I went back through the eBook and just assumed that since virtually everywhere it's mentioned, outside of the section where Rocky discusses the concepts and code for it, it's tied in with Winforms.  I'll give it a try in the code-behind and see what happens.

I'm jealous of you what with being on holiday and all.  In the first five weeks of my current job, I've worked 56 hours, 74 hours, 66 hours, 70 hours and 78 hours, respectively.  I finally got this past weekend off.

Brian Criswell replied on Wednesday, July 04, 2007

It should be fine to use the SortedBindingList as it implements IList, which is all list controls really care about anyway.

I am only half on holiday.  I am working remotely from halfway around the world while spending my paternity leave so my new daughter can meet her grandparents in southern California.

Copyright (c) Marimer LLC