Gridget > .NET Info: Get SelectedItems From DataGrid Using MVVM In Silverlight
[.NET Info] You can see the main output of the example code in the Image 1, here you can see that I have a data grid control and three button with label Add, edit and delete records. Let me explain you what is happening in the example code, user is allowed to select multiple record from the grid and the selected records Ids are displayed in the "Selected Ids"
[Previous] The growing relevance of In-Memory Data Grids « Dustin...
[Next] Digipede Offers Microsoft's MVPs Free Licenses to Award-Wi...
Some related posts from Technorati and Google.
[The Official Microsoft Silverlight Site] sorting the grid columns which has binding converter : The ...: However ,if you click on the column header the DataGrid doesn't sort the data. To solve this issue ,I would like to suggest you to check the link below for a sample which describes how to implement the ICollectionView interface(that is responsible for filtering, sorting and grouping of the data bound to the DataGrid) for sorting data.
[Jesse Liberty - Silverlight Geek] Windows PhoneSending Messages Between Pages | Jesse Liberty: <TextBox Name="DataEntered" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="300" Grid.Column="1" /> <StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="1" Grid.Column="1" Orientation="Horizontal">
[Archana Jadhav] Silverlight data grid scroll bar problem | Archana Jadhav: When we scroll the silverlight datagrid scroll bar it repeated the same row details. For avoiding this issue we can use the scroll viewer control to the datagrid.and set the VerticalScrollBarVisibility=”Hidden”
[pep => lowdown] Silverlight DataGrid RowDetailsTemplate data context issue | pep ...: After some investigation I found that the grid propagates the data context to the root element in the data template by setting it to the data context of the row youve expanded. However, if youve already set a data context it will not propagate it.
[V6 Performance.net Forums] 2008 sedan body kit what do u think? - V6 Performance.net Forums: A treegrid net/scroll-table html]scroll table tabletable row runs horizontally in a line across a table tabletable and is normally made up of several boxes with information treegrid net/rows-table html]rows table When you draw a table tabletable on a piece of paper, you are creating columns and rows rowsrows Each horizontal line of boxes is a different table tabletable row Often, the row at the top of the treegrid net/web-grid html]web grid is used to create headers, which tell the reader what information can be found in the boxes below it, also known as the column For example, the first three boxes in the first row of a table tabletable in a teachers attendance book might read "Student's Name," "Present,"
[The Official Microsoft Silverlight Site] Datagrid Inside a list box - how to get the SelectedItem of the ...: In a Silverlight 4 Project, I am using a Datagrid inside a Silverlight ListBox control (where each item in the listbox is a data grid)...the data loads fine and the display is excactly what I want..but I am unable to get the bound object in selected item of the listbox..if i replace the outer listbox with the data grid it works fine. and I get the binding of selected item to work.
[Our ComponentOne] Our ComponentOne | Blog | Using the ADO.NET Entity Framework in ...: Once you enable the AutoLookup property on any grid, the EntityDataSource component will automatically scan the columns on the grid to replace any regular columns bound to related entities with editable columns based on a “data map” that contains a list of the possible related entities and display values for each one.
[Brij Mohan - A Microsoft .NET Developer's Blog] Brij Mohan - A Microsoft .NET Developer's Blog: Passing Objects ...: This wil basically create a shortcut to Employee.cs from your ASP.NET Application to your Silverlight Project, basically both are same copy so before make any ASP.NET only specific changes to this file make sure this should compile in your Silverlight application too, or Vice Versa.
[Chandradev's Blog] How to create modal popup in silverlight ? « Chandradev's Blog: <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" /> </Grid> </controls:ChildWindow>. Step4:Create one button in main page ...
[Brij Mohan] Passing Objects between ASP.NET and Silverlight Controls. - Brij ...: Ok so this gives me all the data which we have created in our ASP.NET application, Just I have added a employeeDataGrid_SelectionChanged event so that when we select any rows in our Grid it displays the detailed information of the same. And yes using this method we can avoid any calls to DB directly from Silverlight component.
[The Official Microsoft Silverlight Site] Creating data with subdata using the MVVM model with grid and ...: I am new to the MVVM model and trying to replicate what I have done before by getting parent-child data from a database into datatables and joining the datatables in the dataset and then using a datagrid and nested datagrid to show those records. How do I implement this same process in Silverlight with MVVM?
[Our ComponentOne] Our ComponentOne | Blog | Introducing Studio for Entity Framework: C1DataSource can do a lot of tedious development for you. For instance, in the above sample there is an Employee column automatically added to the Orders data grid (this is thanks to the Entity Framework noticing the objects relation).
Reflected tags on Technorati: Blog, Data Grid, Gridget