SilverlightShow: Building a DataGrid Control for Silverlight for Windows Phone - Part 1 Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: Building a DataGrid Control for Silverlight for Windows Phone - Part 1 <p>Hi </p> <p>following your tutorial and have downloaded the code for the article but when i build it .I get an error stating </p> <p> Error    2    The type 'System.Windows.Data.CollectionViewGroup' exists in both 'c:\Users\dell\Downloads\DataGrid_Silverlight_ported_to_PHONE\PhoneDataGrid\Silverlight3Libraries\System.Windows.Data.dll' and 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone71\System.Windows.dll'    C:\Users\dell\Downloads\DataGrid_Silverlight_ported_to_PHONE\PhoneDataGrid\DataGrid\DataGridRowGroupInfo.cs   <br /> <br /> Please any help on this</p> http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx#comment9456 KojoDavis http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx Tue, 04 Jun 2013 17:22:33 GMT Re: Building a DataGrid Control for Silverlight for Windows Phone - Part 1 <pre lang="cs" id="pre1" style="background-color: #fbedbb; padding: 6px; font-size: 9pt; font-family: consolas, 'courier new', courier, mono; white-space: pre-wrap; border: 1px solid #fbedbb; overflow: auto; word-wrap: break-word; margin-top: 0px;">can any one please help,how to bind the table data to the grid control which is stored in isolated data storage of windows phone 7</pre> <pre lang="cs" id="pre1" style="background-color: #fbedbb; padding: 6px; font-size: 9pt; font-family: consolas, 'courier new', courier, mono; white-space: pre-wrap; border: 1px solid #fbedbb; overflow: auto; word-wrap: break-word; margin-top: 0px;"></pre> <pre lang="cs" id="pre1" style="background-color: #fbedbb; padding: 6px; font-size: 9pt; font-family: consolas, 'courier new', courier, mono; white-space: pre-wrap; border: 1px solid #fbedbb; overflow: auto; word-wrap: break-word; margin-top: 0px;"></pre> http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx#comment9012 shaikamair1 http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx Fri, 01 Mar 2013 08:30:37 GMT Re: Building a DataGrid Control for Silverlight for Windows Phone - Part 1 <p>Can anyone please help me,how to bind my table data to the grid control  which is stored in isolated data storage   of windows phone 7.</p> http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx#comment9011 shaikamair1 http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx Fri, 01 Mar 2013 08:28:28 GMT Re: Building a DataGrid Control for Silverlight for Windows Phone - Part 1 I need to bind the datas in grid from database using webservices in windows phone application.But ther is no control included in the Windows phone 7 application.So how can i get a datagrid.if i use third party tools how can i add reference to it. http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx#comment8093 remyavinod http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx Sun, 27 May 2012 15:45:47 GMT Re: Building a DataGrid Control for Silverlight for Windows Phone - Part 1 i need not to show all the columns , how can i bind required columns? http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx#comment7498 chetansonawane http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx Thu, 09 Feb 2012 08:52:08 GMT Re: Building a DataGrid Control for Silverlight for Windows Phone - Part 1 @MauricioFernandez tienes algun sitio o algo asi ? Pude compilar el componente pero al aplicarlo me sale el error de que no puede encontrar un ensamblado pero no me dice detalles. Tal vez es eso que indicas, pero soy medio nuevo en esto de C# y Silverlight y no me sale. Mi email sunco007@hotmail.com - O quiza para este entonces tengas alguna otra manera de ver datos en un tipo DataGrid http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx#comment6646 IsaacCastaeda http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx Thu, 13 Oct 2011 20:56:37 GMT Re: Building a DataGrid Control for Silverlight for Windows Phone - Part 1 <p>If you try to use this code with Mango you will have some conflicts I think you can solve those conflicts using an assembly alias and something like this:</p> <p>extern alias windowsdata;<br /> using IPagedCollectionView = windowsdata::System.ComponentModel.IPagedCollectionView;<br /> using PagedCollectionView = windowsdata::System.Windows.Data.PagedCollectionView;</p> <div><br /> </div> <br /> http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx#comment6306 MauricioFernandez http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx Sat, 25 Jun 2011 02:45:09 GMT RE: Building a DataGrid Control for Silverlight for Windows Phone - Part 1 <p>Right now I am porting Silverlight DataGrid so that it could be offered as part of Resco MobileLight Toolkit. Be warned whoever tries this way - its huge amount of work. So far I spent 10 days and it might need a lot more.</p> <p>Some hints:</p> <p>- Some parts should better be omitted (grouping for example). It's not only dead code (I don't think groups can be controlled on WP7), but it needs classes defined in SVL 3 binaries (libs).</p> <p>- You can get rid of these libs by finding needed classes on the web. For example System.ComponentModel.DataAnnotations sources are on <a href="http://www.java2s.com/Open-Source/CSharp/Web-Frameworks/Silverlight%20Toolkit/System/ComponentModel/DataAnnotations/CatalogDataAnnotations.htm">http://www.java2s.com/Open-Source/CSharp/Web-Frameworks/Silverlight%20Toolkit/System/ComponentModel/DataAnnotations/CatalogDataAnnotations.htm</a> (Ms-PL licence)</p> <p>- You will find that DataPager control is for birds. Better remove it. (Although then you lose data virtualization. However, this is based on PagedCollectionView, which is not supported on WP7. Right now I am ignoring this, but sooner or later it will have to be solved.)</p> <p>- Scrollbar support ditto. Nonsense for WP7. You will have to fit ScrollViewer into the DataGrid template and do some coding to get it working properly. I am not sure how it will co-operate with dynamic row templates (details, validation). </p> <p>- This way you can get (seemingly) working WP7 DataGrid. However, a lot of problems can be expected.</p> <p>- WP7 theming has to be done.Possibly another big topic.</p> http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx#comment5532 Jan Slodicka http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx Thu, 17 Feb 2011 17:46:17 GMT RE: Building a DataGrid Control for Silverlight for Windows Phone - Part 1 <p>I think there may be a reason why there is no DataGrid for Windows Phone 7... Grids on a mobile phone is the worst thing ever: it's not ergonomic. It's also an easy path when you don't want to bother with UI design. I dream of a world where DataGrids would have never existed.</p> http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx#comment4318 ram http://www.silverlightshow.net/items/Building-a-DataGrid-Control-for-Silverlight-for-Windows-Phone-Part-1.aspx Mon, 23 Aug 2010 21:23:56 GMT