I got discouraged by the disappearing datagrid row bug (Silverlight - nothing to do with CSLA). I have seen no signs of it being fixed but I have not looked for a while.
http://forums.lhotka.net/forums/thread/27889.aspx
http://silverlight.net/forums/p/41538/121028.aspx#121028
Otherwise it looks and works quite nice though there is quite a bit of learning to do.
You can try to use agDataGrid from DevExpress. It is free
(at least now) and appears to work with CSLA lists just fine.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: triplea
[mailto:cslanet@lhotka.net]
Sent: Thursday, December 11, 2008 8:09 AM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] Silverlight 2 RTW (with CSLALight), ready for
production?
I got discouraged by the disappearing datagrid row bug (Silverlight -
nothing to do with CSLA). I have seen no signs of it being fixed but I have not
looked for a while.
http://forums.lhotka.net/forums/thread/27889.aspx
http://silverlight.net/forums/p/41538/121028.aspx#121028
Otherwise it looks and works quite nice though there is quite a bit of
learning to do.
I will add this to my “to-do list” 8-)
I am a bit swamped with my current project, but will try
to find time to come up with an example.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Magenic ®
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: rogercito
[mailto:cslanet@lhotka.net]
Sent: Thursday, December 11, 2008 11:03 AM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: Silverlight 2 RTW (with CSLALight), ready
for production?
Thank you everyone for the kind responses.
I'm also very disappointed by the SL Normal 0 21 false false false ES-MX X-NONE
X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable
{mso-style-name:"Tabla normal"; mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99;
mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt
0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan;
font-size:11.0pt; font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} disappearing
row case, but the agGrid so could be a good news.
(I had tried the C1 and new Telerk new prebeta grid with no success but im not
sure I did it right )
Sergey, would you paste a little code, for instance, the Rolodex
"ContactPhones" grid (which easily fails with the ms grid in this
regard) using the agGrid code? I tried but couldn't make csla:PropertyStatus
work, so to show Csla validation in the grid.
Thanks in advance.
P.S. I almost finish the C# 2005 BO book for the basics(will wait for the 08
book to be hardcopied), and now doing some csla 3.6 test samples, I must say
that i'm totally sold with the CslaLight art piece.
Congratulations to the team.
I have only spent a limited amount of time on this. Here
is how you can configure AgDataGrid to use PropertyStatus
I used Rolodex and replaces phones grid with AgDataGrid
Code behind:
this.DevExpressGrid.DataSource
= ((CompanyContact)this.Contacts.SelectedItem).ContactPhones;
XAML
<agGrid:AgDataGrid x:Name="DevExpressGrid" Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="3" Margin="6,6,6,6"
AutoGenerateColumns="False" >
<agGrid:AgDataGrid.Columns>
<agGrid:AgDataGridColumn FieldName="PhoneNumber" Width="200">
<agGrid:AgDataGridColumn.CellDisplayTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBox x:Name="PhoneBox" Text="{Binding RowValue.PhoneNumber, Mode=TwoWay}"/>
<csla:PropertyStatus Property="PhoneNumber"
RelativeTargetName="PhoneBox" Grid.Column="1" Source="{Binding RowValue}"/>
</Grid>
</DataTemplate>
</agGrid:AgDataGridColumn.CellDisplayTemplate>
<agGrid:AgDataGridColumn.CellEditingTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBox x:Name="PhoneBox" Text="{Binding RowValue.PhoneNumber, Mode=TwoWay}"/>
<csla:PropertyStatus Property="PhoneNumber"
RelativeTargetName="PhoneBox" Grid.Column="1" Source="{Binding RowValue}"/>
</Grid>
</DataTemplate>
</agGrid:AgDataGridColumn.CellEditingTemplate>
</agGrid:AgDataGridColumn>
<agGrid:AgDataGridColumn FieldName="FaxNumber" Width="200">
<agGrid:AgDataGridColumn.CellDisplayTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBox x:Name="FaxBox" Text="{Binding RowValue.FaxNumber, Mode=TwoWay}"/>
<csla:PropertyStatus Property="FaxNumber"
RelativeTargetName="FaxBox" Grid.Column="1" Source="{Binding RowValue}"/>
</Grid>
</DataTemplate>
</agGrid:AgDataGridColumn.CellDisplayTemplate>
<agGrid:AgDataGridColumn.CellEditingTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBox x:Name="FaxBox" Text="{Binding RowValue.FaxNumber, Mode=TwoWay}"/>
<csla:PropertyStatus Property="FaxNumber"
RelativeTargetName="FaxBox" Grid.Column="1" Source="{Binding RowValue}"/>
</Grid>
</DataTemplate>
</agGrid:AgDataGridColumn.CellEditingTemplate>
</agGrid:AgDataGridColumn>
</agGrid:AgDataGrid.Columns>
</agGrid:AgDataGrid>
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Magenic ®
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: rogercito
[mailto:cslanet@lhotka.net]
Sent: Thursday, December 11, 2008 11:03 AM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: Silverlight 2 RTW (with CSLALight), ready
for production?
Thank you everyone for the kind responses.
I'm also very disappointed by the SL Normal 0 21 false false false ES-MX X-NONE
X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable
{mso-style-name:"Tabla normal"; mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99;
mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt
0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan;
font-size:11.0pt; font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} disappearing
row case, but the agGrid so could be a good news.
(I had tried the C1 and new Telerk new prebeta grid with no success but im not
sure I did it right )
Sergey, would you paste a little code, for instance, the Rolodex
"ContactPhones" grid (which easily fails with the ms grid in this
regard) using the agGrid code? I tried but couldn't make csla:PropertyStatus
work, so to show Csla validation in the grid.
Thanks in advance.
P.S. I almost finish the C# 2005 BO book for the basics(will wait for the 08
book to be hardcopied), and now doing some csla 3.6 test samples, I must say
that i'm totally sold with the CslaLight art piece.
Congratulations to the team.
csla
:ValidatedDataGridTextColumn was not found...missing assembly reference, etc.Has anyone else had problems using CSLA 3.6 with Dec. datagrid?
Copyright (c) Marimer LLC