<telerik:RadGridView Margin="-2,2,2,-2" AutoGenerateColumns="False" Name="radGridView1" ItemsSource="{Binding PatientMedications}">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn HeaderText="Name" DataMemberBinding="{Binding Path=Drug_.Name}" UniqueName="{x:Null}"/>
<telerik:GridViewDataColumn HeaderText="Dosage" DataMemberBinding="{Binding Path=Dosage}" UniqueName="{x:Null}" />
<telerik:GridViewDataColumn HeaderText="Started" DataMemberBinding="{Binding Path=StartTime}" UniqueName="{x:Null}" />
<telerik:GridViewDataColumn HeaderText="Ended" DataMemberBinding="{Binding Path=EndTime}" UniqueName="{x:Null}" />
<telerik:GridViewDataColumn HeaderText="Comments" DataMemberBinding="{Binding Path=Comments}" UniqueName="{x:Null}" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
Thanks,
Billy Jacobs
I want to use updates to the DataContexts to auto update the grid, ItemsSource="{Binding Path=ItemsSource}" works for the data, but i cannot figure out the selected row.
I am trying out the WPF RadGridView now. When the “You are running trial version...” msgbox pops up, I click ‘Cancel’ and the RadGridView is showing fine, Then a link button is clicked to view record detail; when the detail view is closed, the window with RadGridView should show up, but I got error “There is no source code available for the current location.”, I think it is because it was trying to bind the grid before the “You are running trial version...” msgbox popped up. Is any temp I can us to avoid the annoying popup?
Thanks!
Amy
