tag:blogger.com,1999:blog-2157078164517103759.post8431446028105366673..comments2023-07-31T03:31:57.774-07:00Comments on A Static State: Binding ComboBox and AutoComplete Controls in Silverlight DataGridJason Apergishttp://www.blogger.com/profile/01817509015412502702noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-2157078164517103759.post-25424312308168270802011-04-21T06:59:18.269-07:002011-04-21T06:59:18.269-07:00You should look at the paging feature of the Silve...You should look at the paging feature of the Silverlight grid. 2400 items is a lot for user to look at and probably not going to be usable.Jason Apergishttps://www.blogger.com/profile/01817509015412502702noreply@blogger.comtag:blogger.com,1999:blog-2157078164517103759.post-57852442662220483292011-04-21T04:40:07.550-07:002011-04-21T04:40:07.550-07:00Thank you very much,it is very helpful to me.
But ...Thank you very much,it is very helpful to me.<br />But I have some problem with the filling of the data from database using RIA.<br />In my database in the place of Titles there is more than 2400 records.<br />when I select one employee then his title will not display because TitleConverter function will execute before filling the _lookupProvider.Titles values.Abhilashhttps://www.blogger.com/profile/03778060491691976192noreply@blogger.comtag:blogger.com,1999:blog-2157078164517103759.post-81755563998929183102011-03-06T08:10:25.798-08:002011-03-06T08:10:25.798-08:00Thank you, it helped a lot.Thank you, it helped a lot.Unknownhttps://www.blogger.com/profile/05833326420429530665noreply@blogger.comtag:blogger.com,1999:blog-2157078164517103759.post-63889454675393336722010-10-26T05:18:57.737-07:002010-10-26T05:18:57.737-07:00Eyad,
I do not have any handy code samples but I ...Eyad,<br /><br />I do not have any handy code samples but I did have to solve this problem because I too had lots of lookups and we need to reduce the load and improve performance. Please read about the Singleton pattern. Just search on ".NET Singleton".<br /><br />What you will basically do is load up a Context object within your singleton. It will only be loaded one time. Then you can reference that singleton with your loaded lookup data in all of your screens.<br /><br />JasonJason Apergishttps://www.blogger.com/profile/01817509015412502702noreply@blogger.comtag:blogger.com,1999:blog-2157078164517103759.post-28016077631931160982010-10-25T23:44:43.991-07:002010-10-25T23:44:43.991-07:00Thank you so much, realy thats exactly i need, but...Thank you so much, realy thats exactly i need, but i have some problem with this example<br />I have a problem with performance, i am replace the code in EmployeeDomainService just get the data from database, the problem foucs about GetTitles function, this function has been connection many times to get the data from database becouse i put Titles in the Datagrid. what can i do?<br />look i need to call EmployeeDomainService just one time, and i need a method to build relationship between Employees and Titles in ViewModel, again thank you for your good articles.Unknownhttps://www.blogger.com/profile/12477148742226330409noreply@blogger.com